Marino Faggiana 8 年之前
父节点
当前提交
554f755726
共有 2 个文件被更改,包括 1 次插入5 次删除
  1. 1 4
      iOSClient/Main/CCMain.m
  2. 0 1
      iOSClient/Settings/CCManageAccount.m

+ 1 - 4
iOSClient/Main/CCMain.m

@@ -3291,7 +3291,6 @@
         return;
     }
     
-    //NSArray *listTableAccount = [CCCoreData getAllTableAccount];
     NSArray *listAccount = [[NCManageDatabase sharedInstance] getAccounts];
     
     NSMutableArray *menuArray = [NSMutableArray new];
@@ -3356,9 +3355,7 @@
     [[CCNetworking sharedNetworking] settingSessionsDownload:YES upload:YES taskStatus:k_taskStatusCancel activeAccount:app.activeAccount activeUser:app.activeUser activeUrl:app.activeUrl];
 
     dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.2 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
-    
-        //TableAccount *tableAccount = [CCCoreData setActiveAccount:[sender argument]];
-        
+            
         tableAccount *tableAccount = [[NCManageDatabase sharedInstance] setAccountActive:[sender argument]];
         if (tableAccount)
             [app settingActiveAccount:tableAccount.account activeUrl:tableAccount.url activeUser:tableAccount.user activePassword:tableAccount.password];

+ 0 - 1
iOSClient/Settings/CCManageAccount.m

@@ -47,7 +47,6 @@
     
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(changeTheming) name:@"changeTheming" object:nil];
     
-    //NSArray *listAccount = [CCCoreData getAllAccount];
     NSArray *listAccount = [[NCManageDatabase sharedInstance] getAccounts];
 
     // Section : CLOUD ACCOUNT -------------------------------------------