diff options
author | stuconnolly <stuart02@gmail.com> | 2012-04-01 13:59:29 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-04-01 13:59:29 +0000 |
commit | f587f5bf1a43b8f0b19822547f63661fecc63cec (patch) | |
tree | 7b374be62a3e1e0bdab4d02264215b1bb1ef0ea9 /Source/SPExportController.m | |
parent | d951d5bcd6a86736c09863af98bef18cbb41eef5 (diff) | |
download | sequelpro-f587f5bf1a43b8f0b19822547f63661fecc63cec.tar.gz sequelpro-f587f5bf1a43b8f0b19822547f63661fecc63cec.tar.bz2 sequelpro-f587f5bf1a43b8f0b19822547f63661fecc63cec.zip |
Remove unused method.
Diffstat (limited to 'Source/SPExportController.m')
-rw-r--r-- | Source/SPExportController.m | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Source/SPExportController.m b/Source/SPExportController.m index c9ab3c32..315df604 100644 --- a/Source/SPExportController.m +++ b/Source/SPExportController.m @@ -59,7 +59,6 @@ static const NSString *SPSQLExportDropEnabled = @"SQLExportDropEnabled"; - (void)_toggleExportButton:(id)uiStateDict; - (void)_toggleExportButtonOnBackgroundThread; - (void)_toggleExportButtonWithBool:(NSNumber *)enable; -- (void)_toggleSQLExportTableNameTokenAvailability; - (void)_resizeWindowForCustomFilenameViewByHeightDelta:(NSInteger)delta; - (void)_resizeWindowForAdvancedOptionsViewByHeightDelta:(NSInteger)delta; @@ -1055,25 +1054,4 @@ static const NSString *SPSQLExportDropEnabled = @"SQLExportDropEnabled"; [exportButton setEnabled:[enable boolValue]]; } -/** - * Toggles the available filename tokens for and SQL export. - */ -- (void)_toggleSQLExportTableNameTokenAvailability -{ - NSUInteger i = 0; - - for (NSArray *table in tables) - { - if ([NSArrayObjectAtIndex(table, 2) boolValue]) { - i++; - - if (i == 2) break; - } - } - - [exportCustomFilenameTokensField setStringValue:(i > 1) ? - NSLocalizedString(@"host,database,date,year,month,day,time", @"custom export filename tokens without table") : - NSLocalizedString(@"host,database,table,date,year,month,day,time", @"default custom export filename tokens")]; -} - @end |