Marino Faggiana 7 years ago
parent
commit
033dbfacab
1 changed files with 2 additions and 3 deletions
  1. 2 3
      PickerFileProvider/FileProvider.swift

+ 2 - 3
PickerFileProvider/FileProvider.swift

@@ -56,6 +56,8 @@ class FileProvider: NSFileProviderExtension, CCNetworkingDelegate {
         
         
         setupActiveAccount()
         setupActiveAccount()
         
         
+        verifyUploadQueueInLock()
+        
         if #available(iOSApplicationExtension 11.0, *) {
         if #available(iOSApplicationExtension 11.0, *) {
             
             
             listFavoriteIdentifierRank = NCManageDatabase.sharedInstance.getTableMetadatasDirectoryFavoriteIdentifierRank()
             listFavoriteIdentifierRank = NCManageDatabase.sharedInstance.getTableMetadatasDirectoryFavoriteIdentifierRank()
@@ -115,9 +117,6 @@ class FileProvider: NSFileProviderExtension, CCNetworkingDelegate {
             throw NSError(domain: NSCocoaErrorDomain, code: NSFeatureUnsupportedError, userInfo:[:])
             throw NSError(domain: NSCocoaErrorDomain, code: NSFeatureUnsupportedError, userInfo:[:])
         }
         }
        
        
-        // verify 
-        self.verifyUploadQueueInLock()
-        
         return enumerator
         return enumerator
     }
     }