Browse Source

Set procedure UPGRADE VERSION 2.17

Marino Faggiana 8 years ago
parent
commit
6538410003
1 changed files with 5 additions and 0 deletions
  1. 5 0
      iOSClient/AppDelegate.m

+ 5 - 0
iOSClient/AppDelegate.m

@@ -1379,6 +1379,11 @@
         [CCCoreData setGeoInformationLocalNull];
     }
     
+    if (([actualVersion compare:@"2.17" options:NSNumericSearch] == NSOrderedAscending)) {
+        
+        [CCCoreData clearAllDateReadDirectory];
+        [CCCoreData flushTableMetadataAccount:nil];
+    }
 }
 
 @end