- Update Pod

- Fix setUser in PNinstallation
This commit is contained in:
giuseppenuc committed 2016-05-02 10:47:29 +02:00
1 parent 7f4757d9e0
commit 4eca983cf6
7 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -139,7 +139,7 @@ static bool isFirstAccess = YES;
_user = user;
[[NSNotificationCenter defaultCenter] postNotificationName:PNObjectLocalNotificationPNInstallationUserChange object:nil];
}
else if (user == nil){
else if (user == nil && _user){
_user = nil;
[[NSNotificationCenter defaultCenter] postNotificationName:PNObjectLocalNotificationPNInstallationUserDelete object:nil];
}