- Add Notification PNObjectLocalNotificationUserWillLogout
- Mod PNObjectLocalNotificationUserLogout Logout to PNObjectLocalNotificationUserEndLogout
This commit is contained in:
1 parent
651ea4a915
commit
878dbdf274
3 files changed
+7
-3
No files matched your search
@@ -100,9 +100,10 @@ static bool isFirstAccess = YES;
|
||||
}
|
||||
|
||||
- (void)logout {
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:PNObjectLocalNotificationUserWillLogout object:nil];
|
||||
[self autoRemoveLocally];
|
||||
[self resetObject];
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:PNObjectLocalNotificationUserLogout object:nil];
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:PNObjectLocalNotificationUserEndLogout object:nil];
|
||||
}
|
||||
|
||||
- (BOOL) hasValidEmailAndPasswordData {
|
||||
|
||||
Reference in new issue
Block a user