瀏覽代碼

clear code

Marino Faggiana 8 年之前
父節點
當前提交
bb4c191912
共有 3 個文件被更改,包括 1 次插入21 次删除
  1. 0 2
      iOSClient/AppDelegate.h
  2. 0 15
      iOSClient/AppDelegate.m
  3. 1 4
      iOSClient/Main/CCMain.m

+ 0 - 2
iOSClient/AppDelegate.h

@@ -169,7 +169,5 @@
 
 - (BOOL)createFolderSubFolderAutomaticUploadFolderPhotos:(NSString *)folderPhotos useSubFolder:(BOOL)useSubFolder assets:(NSArray *)assets selector:(NSString *)selector;
 
-- (void)logUserCrashlytics;
-
 @end
 

+ 0 - 15
iOSClient/AppDelegate.m

@@ -270,7 +270,6 @@
     
     // Fabric
     [Fabric with:@[[Crashlytics class]]];
-    [self logUserCrashlytics];
     
     return YES;
 }
@@ -1585,20 +1584,6 @@
     return YES;
 }
 
-#pragma --------------------------------------------------------------------------------------------
-#pragma mark ===== Crashlytics =====
-#pragma --------------------------------------------------------------------------------------------
-
-- (void)logUserCrashlytics
-{
-    TableAccount *tableAccount = [CCCoreData getActiveAccount];
-    
-    if (tableAccount) {
-        if (tableAccount.email && tableAccount.email.length > 0)
-            [CrashlyticsKit setUserEmail:tableAccount.email];
-    }
-}
-
 #pragma --------------------------------------------------------------------------------------------
 #pragma mark ===== UPGRADE =====
 #pragma --------------------------------------------------------------------------------------------

+ 1 - 4
iOSClient/Main/CCMain.m

@@ -387,10 +387,7 @@
         
         // Initializations
         [app applicationInitialized];
-        
-        // User Crashlytics
-        [app logUserCrashlytics];
-        
+                
     } else {
         
         // reload datasource