소스 검색

clear code

Marino Faggiana 7 년 전
부모
커밋
16ef541c27
2개의 변경된 파일6개의 추가작업 그리고 7개의 파일을 삭제
  1. 6 0
      iOSClient/AppDelegate.m
  2. 0 7
      iOSClient/Main/CCMain.m

+ 6 - 0
iOSClient/AppDelegate.m

@@ -264,6 +264,12 @@
     
     // verify Upload
     [self verifyUploadInErrorOrWait];
+    
+    // middelware ping
+    if ([[NCBrandOptions sharedInstance] use_middlewarePing] && _activeMain) {
+        NSLog(@"[LOG] Middleware Ping");
+        [_activeMain middlewarePing];
+    }
 }
 
 //

+ 0 - 7
iOSClient/Main/CCMain.m

@@ -1224,13 +1224,6 @@
         [self cancelSearchBar];
     }
     
-    // ------ MIDDLEWARE PING ---------------------------------------------------------------
-    
-    if ([[NCBrandOptions sharedInstance] use_middlewarePing]) {
-        NSLog(@"[LOG] Middleware Ping");
-        [self middlewarePing];
-    }
-    
     // ------ GET SERVICE SERVER ------------------------------------------------------------
     
     // Read User Profile