aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPUserManager.m
diff options
context:
space:
mode:
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) {