Marino Faggiana %!s(int64=7) %!d(string=hai) anos
pai
achega
414047c264
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      iOSClient/AutoUpload/NCAutoUpload.m

+ 3 - 3
iOSClient/AutoUpload/NCAutoUpload.m

@@ -453,14 +453,14 @@
 {
 {
     if ([[NCManageDatabase sharedInstance] addAutoUploadWithMetadataNet:metadataNet]) {
     if ([[NCManageDatabase sharedInstance] addAutoUploadWithMetadataNet:metadataNet]) {
         
         
-        [[NCManageDatabase sharedInstance] addActivityClient:metadataNet.fileName fileID:metadataNet.assetLocalIdentifier action:k_activityDebugActionAutoUpload selector:metadataNet.selector note:[NSString stringWithFormat:@"Add Auto Upload, Asset : %@", asset.localIdentifier] type:k_activityTypeInfo verbose:k_activityVerboseHigh activeUrl:app.activeUrl];
+        [[NCManageDatabase sharedInstance] addActivityClient:metadataNet.fileName fileID:metadataNet.assetLocalIdentifier action:k_activityDebugActionAutoUpload selector:metadataNet.selector note:@"Add Auto Upload, add new asset" type:k_activityTypeInfo verbose:k_activityVerboseHigh activeUrl:app.activeUrl];
         
         
     } else {
     } else {
         
         
-        [[NCManageDatabase sharedInstance] addActivityClient:metadataNet.fileName fileID:metadataNet.assetLocalIdentifier action:k_activityDebugActionAutoUpload selector:metadataNet.selector note:[NSString stringWithFormat:@"Add Auto Upload [File already present in Table autoUpload], Asset Data: %@", asset.localIdentifier] type:k_activityTypeInfo verbose:k_activityVerboseHigh activeUrl:app.activeUrl];
+        [[NCManageDatabase sharedInstance] addActivityClient:metadataNet.fileName fileID:metadataNet.assetLocalIdentifier action:k_activityDebugActionAutoUpload selector:metadataNet.selector note:@"Add Auto Upload, asset already present" type:k_activityTypeInfo verbose:k_activityVerboseHigh activeUrl:app.activeUrl];
     }
     }
     
     
-    // Update Camera Auto Upload data
+    // Add asset in table Photo Library
     if ([metadataNet.selector isEqualToString:selectorUploadAutoUpload])
     if ([metadataNet.selector isEqualToString:selectorUploadAutoUpload])
         [[NCManageDatabase sharedInstance] addPhotoLibrary:@[asset]];
         [[NCManageDatabase sharedInstance] addPhotoLibrary:@[asset]];