aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPUserManager.m
diff options
context:
space:
mode:
authormltownsend <mltownsend@gmail.com>2009-08-14 04:13:40 +0000
committermltownsend <mltownsend@gmail.com>2009-08-14 04:13:40 +0000
commit7a9a9b99c7c06432a2bb804c4ba29d037796e058 (patch)
tree8014f31243c554fee64285dbb54662946f87c5f2 /Source/SPUserManager.m
parentbb87b4f4fe51c64909a6ae40b00cc775adc660d7 (diff)
downloadsequelpro-7a9a9b99c7c06432a2bb804c4ba29d037796e058.tar.gz
sequelpro-7a9a9b99c7c06432a2bb804c4ba29d037796e058.tar.bz2
sequelpro-7a9a9b99c7c06432a2bb804c4ba29d037796e058.zip
small change
Diffstat (limited to 'Source/SPUserManager.m')
-rw-r--r--Source/SPUserManager.m10
1 files changed, 1 insertions, 9 deletions
diff --git a/Source/SPUserManager.m b/Source/SPUserManager.m
index 973ff142..c77c757b 100644
--- a/Source/SPUserManager.m
+++ b/Source/SPUserManager.m
@@ -59,7 +59,6 @@
[self setConnection:connection];
-
privColumnsMODict = [[[NSDictionary alloc] initWithObjectsAndKeys:
@"grant_option_priv",@"Grant_priv",
@"show_databases_priv",@"Show_db_priv",
@@ -71,9 +70,7 @@
}
- (void)dealloc
-{
- NSLog(@"SPUserManager dealloc.");
-
+{
[[NSNotificationCenter defaultCenter] removeObserver:self];
[managedObjectContext release], managedObjectContext = nil;
@@ -498,11 +495,6 @@
}
}
-- (void)windowWillClose:(NSNotification *)notification
-{
- [[NSNotificationCenter defaultCenter] removeObserver:self];
-}
-
- (BOOL)updateUsers:(NSArray *)updatedUsers
{
for (NSManagedObject *user in updatedUsers) {