Selaa lähdekoodia

Set procedure UPGRADE VERSION 2.17

Marino Faggiana 8 vuotta sitten
vanhempi
commit
6538410003
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  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