فهرست منبع

remove old code

marinofaggiana 5 سال پیش
والد
کامیت
0bae4c5c39
1فایلهای تغییر یافته به همراه0 افزوده شده و 20 حذف شده
  1. 0 20
      iOSClient/Main/CCMain.m

+ 0 - 20
iOSClient/Main/CCMain.m

@@ -1139,26 +1139,6 @@
             NSLog(@"[LOG] It has been changed user during networking process, error.");
         }
     }];
-    
-    /*
-    [[OCNetworking sharedManager] readFileWithAccount:appDelegate.activeAccount serverUrl:_serverUrl fileName:nil completion:^(NSString *account, tableMetadata *metadata, NSString *message, NSInteger errorCode) {
-       
-        if (errorCode == 0 && [account isEqualToString:appDelegate.activeAccount]) {
-        
-            tableDirectory *directory = [[NCManageDatabase sharedInstance] getTableDirectoryWithPredicate:[NSPredicate predicateWithFormat:@"account == %@ AND serverUrl == %@", account, metadata.serverUrl]];
-            
-            // Read folder: No record, Change etag or BLINK
-            if ([sectionDataSource.allRecordsDataSource count] == 0 || [metadata.etag isEqualToString:directory.etag] == NO || self.blinkFileNamePath != nil) {
-                [self readFolder:metadata.serverUrl];
-            }
-            
-        } else if (errorCode != 0) {
-            [[NCContentPresenter shared] messageNotification:@"_error_" description:message delay:k_dismissAfterSecond type:messageTypeError errorCode:errorCode];
-        } else {
-            NSLog(@"[LOG] It has been changed user during networking process, error.");
-        }
-    }];
-    */
 }
 
 #pragma --------------------------------------------------------------------------------------------