Skip to content

Commit

Permalink
Fix typo key parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
nasli committed Jan 22, 2018
1 parent b152298 commit 48a8c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Owncloud iOs Client/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
int currentDBVersion = [ManageDB getDatabaseVersion];

NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
NSInteger openAfterUpgrade = [defaults integerForKey:@"firstOpenAfterUpgrade"];
NSInteger openAfterUpgrade = [defaults integerForKey:@"openAfterUpgrade"];

if (currentDBVersion == 23 && openAfterUpgrade != 1){
NSLog(@"Migrating after first open upgrade, Change kind of credentials in DB version from 21or22 to23");
Expand Down

0 comments on commit 48a8c77

Please sign in to comment.