aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionDelegate.m
diff options
context:
space:
mode:
authorsqlprodev <sqlprodev@northofthree.com>2013-02-14 20:14:07 +0000
committersqlprodev <sqlprodev@northofthree.com>2013-02-14 20:14:07 +0000
commit7d71d9d773ca7ee8b5920e304b7b41b92120943f (patch)
tree305655c168173f1d2bbfa7896a35f245b01f71a1 /Source/SPConnectionDelegate.m
parent47069472a4b5dc6655338a77ec8b1eb9a5f5c3d9 (diff)
downloadsequelpro-7d71d9d773ca7ee8b5920e304b7b41b92120943f.tar.gz
sequelpro-7d71d9d773ca7ee8b5920e304b7b41b92120943f.tar.bz2
sequelpro-7d71d9d773ca7ee8b5920e304b7b41b92120943f.zip
Changing SP_REFACTOR macro to SP_CODA
Diffstat (limited to 'Source/SPConnectionDelegate.m')
-rw-r--r--Source/SPConnectionDelegate.m10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/SPConnectionDelegate.m b/Source/SPConnectionDelegate.m
index 473eef8c..ef5cfaa8 100644
--- a/Source/SPConnectionDelegate.m
+++ b/Source/SPConnectionDelegate.m
@@ -48,7 +48,7 @@
*/
- (void)willQueryString:(NSString *)query connection:(id)connection
{
-#ifndef SP_REFACTOR
+#ifndef SP_CODA
if ([prefs boolForKey:SPConsoleEnableLogging]) {
if ((_queryMode == SPInterfaceQueryMode && [prefs boolForKey:SPConsoleEnableInterfaceLogging])
|| (_queryMode == SPCustomQueryQueryMode && [prefs boolForKey:SPConsoleEnableCustomQueryLogging])
@@ -65,7 +65,7 @@
*/
- (void)queryGaveError:(NSString *)error connection:(id)connection
{
-#ifndef SP_REFACTOR
+#ifndef SP_CODA
if ([prefs boolForKey:SPConsoleEnableLogging] && [prefs boolForKey:SPConsoleEnableErrorLogging]) {
[[SPQueryController sharedQueryController] showErrorInConsole:error connection:[self name]];
}
@@ -139,7 +139,7 @@
// Ensure the window isn't miniaturized
if ([[self parentWindow] isMiniaturized]) [[self parentWindow] deminiaturize:self];
-#ifndef SP_REFACTOR
+#ifndef SP_CODA
// Ensure the window and tab are frontmost
[self makeKeyDocument];
#endif
@@ -181,9 +181,9 @@
/**
* Close the connection - should be performed on the main thread.
*/
-- (void)closeAndDisconnect
+- (void) closeAndDisconnect
{
-#ifndef SP_REFACTOR
+#ifndef SP_CODA
NSWindow *theParentWindow = [self parentWindow];
_isConnected = NO;