Marino Faggiana 8 jaren geleden
bovenliggende
commit
2e560bb631
2 gewijzigde bestanden met toevoegingen van 0 en 12 verwijderingen
  1. 0 11
      iOSClient/AppDelegate.m
  2. 0 1
      iOSClient/Settings/CCAdvanced.m

+ 0 - 11
iOSClient/AppDelegate.m

@@ -208,17 +208,6 @@
     // ico Image Cache
     self.icoImagesCache = [[NSMutableDictionary alloc] init];
     
-    // remove tmp & cache
-    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
-    
-        NSArray* tmpDirectory = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:NSTemporaryDirectory() error:NULL];
-        for (NSString *file in tmpDirectory) {
-            [[NSFileManager defaultManager] removeItemAtPath:[NSString stringWithFormat:@"%@%@", NSTemporaryDirectory(), file] error:NULL];
-        }
-        
-        [[NSURLCache sharedURLCache] removeAllCachedResponses];
-    });
-    
     // setting Reachable in back
     dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
 

+ 0 - 1
iOSClient/Settings/CCAdvanced.m

@@ -133,7 +133,6 @@
 {
     [super viewWillAppear:animated];
     
-    self.title = NSLocalizedString(@"_settings_", nil);
     self.tableView.backgroundColor = [NCBrandColor sharedInstance].tableBackground;
 
     // Color