aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTablesList.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-03-17 17:56:04 +0000
committerrowanbeentje <rowan@beent.je>2012-03-17 17:56:04 +0000
commite26e22d9d6a6641cfc0a35e8ae31c12aee8bea5b (patch)
treebb9bcc0ff8ba2e685fcb0fac775b616d9fde2baf /Source/SPTablesList.m
parentac8ebfe4bba6d7da6edad87c75b174156d919621 (diff)
downloadsequelpro-e26e22d9d6a6641cfc0a35e8ae31c12aee8bea5b.tar.gz
sequelpro-e26e22d9d6a6641cfc0a35e8ae31c12aee8bea5b.tar.bz2
sequelpro-e26e22d9d6a6641cfc0a35e8ae31c12aee8bea5b.zip
- Remove the GPL-licensed Colloquy-sourced NSNotificationAdditions category from the project, and replace with an MIT-licensed TCMPortMapper sources NSNotificationCenterThreadingAdditions category. This should fix method clashes in the SP_REFACTOR project, so remove behavioural/namespacing switches.
Diffstat (limited to 'Source/SPTablesList.m')
-rw-r--r--Source/SPTablesList.m8
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/SPTablesList.m b/Source/SPTablesList.m
index f4a21800..0283eb98 100644
--- a/Source/SPTablesList.m
+++ b/Source/SPTablesList.m
@@ -134,11 +134,7 @@ static NSString *SPDuplicateTable = @"SPDuplicateTable";
if ([tableDocumentInstance database]) {
// Notify listeners that a query has started
-#ifndef SP_REFACTOR
[[NSNotificationCenter defaultCenter] postNotificationOnMainThreadWithName:@"SMySQLQueryWillBePerformed" object:tableDocumentInstance];
-#else
- [[NSNotificationCenter defaultCenter] sequelProPostNotificationOnMainThreadWithName:@"SMySQLQueryWillBePerformed" object:tableDocumentInstance];
-#endif
// Use UTF8 for identifier-based queries
if (changeEncoding) {
@@ -274,11 +270,7 @@ static NSString *SPDuplicateTable = @"SPDuplicateTable";
if (changeEncoding) [mySQLConnection restoreStoredEncoding];
// Notify listeners that the query has finished
-#ifndef SP_REFACTOR
[[NSNotificationCenter defaultCenter] postNotificationOnMainThreadWithName:@"SMySQLQueryHasBeenPerformed" object:tableDocumentInstance];
-#else
- [[NSNotificationCenter defaultCenter] sequelProPostNotificationOnMainThreadWithName:@"SMySQLQueryHasBeenPerformed" object:tableDocumentInstance];
-#endif
}
// Add the table headers even if no tables were found