marinofaggiana 5 years ago
parent
commit
9d6d5c4d0e
1 changed files with 0 additions and 1 deletions
  1. 0 1
      iOSClient/Synchronize/CCSynchronize.m

+ 0 - 1
iOSClient/Synchronize/CCSynchronize.m

@@ -209,7 +209,6 @@
 
 - (void)readFile:(NSString *)ocId fileName:(NSString *)fileName serverUrl:(NSString *)serverUrl selector:(NSString *)selector account:(NSString *)account
 {
-    AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
     NSString *serverUrlFileName = [NSString stringWithFormat:@"%@/%@", serverUrl, fileName];
 
     [[NCCommunication sharedInstance] readFileOrFolderWithServerUrlFileName:serverUrlFileName depth:@"0" account:account completionHandler:^(NSString *account, NSArray*files, NSInteger errorCode, NSString *errorMessage) {