Marino Faggiana 7 жил өмнө
parent
commit
055a9cf1e5

+ 0 - 1
iOSClient/Settings/CCAdvanced.m

@@ -345,7 +345,6 @@
                 [self.hud hideHud];
                 [self.hud hideHud];
                 // Inizialized home
                 // Inizialized home
                 [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:@"initializeMain" object:nil];
                 [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:@"initializeMain" object:nil];
-
             });
             });
         });
         });
     }]];
     }]];

+ 4 - 1
iOSClient/Settings/CCManageAutoUpload.m

@@ -282,8 +282,11 @@
             
             
         } else {
         } else {
             
             
-            [[NCManageDatabase sharedInstance] clearTable:[tableAutoUpload class] account:app.activeAccount];
             [[NCManageDatabase sharedInstance] setAccountAutoUploadFiled:@"autoUploadFull" state:NO];
             [[NCManageDatabase sharedInstance] setAccountAutoUploadFiled:@"autoUploadFull" state:NO];
+
+            [[NCManageDatabase sharedInstance] clearTable:[tableAutoUpload class] account:app.activeAccount];
+            
+            [[CCNetworking sharedNetworking] settingSessionsDownload:NO upload:YES taskStatus:k_taskStatusCancel activeAccount:app.activeAccount activeUser:app.activeUser activeUrl:app.activeUrl];
         }
         }
     }
     }