marinofaggiana 4 years ago
parent
commit
ffa872ff43
2 changed files with 2 additions and 13 deletions
  1. 2 5
      iOSClient/AppDelegate.m
  2. 0 8
      iOSClient/CCGlobal.h

+ 2 - 5
iOSClient/AppDelegate.m

@@ -319,11 +319,8 @@
     [self pushNotification];
     [self pushNotification];
     
     
     // Registeration domain File Provider
     // Registeration domain File Provider
-    if (k_fileProvider_domain) {
-        [FileProviderDomain.sharedInstance registerDomain];
-    } else {
-        [FileProviderDomain.sharedInstance removeAllDomain];
-    }
+    [FileProviderDomain.sharedInstance registerDomain];
+    //[FileProviderDomain.sharedInstance removeAllDomain];
 }
 }
 
 
 #pragma --------------------------------------------------------------------------------------------
 #pragma --------------------------------------------------------------------------------------------

+ 0 - 8
iOSClient/CCGlobal.h

@@ -340,11 +340,3 @@
 #define k_notificationCenter_menuDownloadImage          @"menuDownloadImage"                // userInfo: metadata
 #define k_notificationCenter_menuDownloadImage          @"menuDownloadImage"                // userInfo: metadata
 #define k_notificationCenter_menuSaveLivePhoto          @"menuSaveLivePhoto"                // userInfo: metadata, metadataMov
 #define k_notificationCenter_menuSaveLivePhoto          @"menuSaveLivePhoto"                // userInfo: metadata, metadataMov
 #define k_notificationCenter_menuDetailClose            @"menuDetailClose"
 #define k_notificationCenter_menuDetailClose            @"menuDetailClose"
-
-
-// -----------------------------------------------------------------------------------------------------------
-// INTERNAL
-// -----------------------------------------------------------------------------------------------------------
-
-#define k_fileProvider_domain                           1
-