浏览代码

Set procedure UPGRADE VERSION 2.17

Marino Faggiana 8 年之前
父节点
当前提交
6538410003
共有 1 个文件被更改,包括 5 次插入0 次删除
  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