Browse Source

metadataNet delegate

Marino Faggiana 8 years ago
parent
commit
4474d71209
1 changed files with 2 additions and 0 deletions
  1. 2 0
      iOSClient/Main/CCMain.m

+ 2 - 0
iOSClient/Main/CCMain.m

@@ -1946,6 +1946,7 @@
         CCMetadataNet *metadataNet = [[CCMetadataNet alloc] initWithAccount:app.activeAccount];
         
         metadataNet.action = actionDeleteFileDirectory;
+        metadataNet.delegate = self;
         metadataNet.fileID = metadata.fileID;
         metadataNet.fileNamePrint = metadata.fileNamePrint;
         metadataNet.serverUrl = _localServerUrl;
@@ -1971,6 +1972,7 @@
         CCMetadataNet *metadataNet = [[CCMetadataNet alloc] initWithAccount:app.activeAccount];
         
         metadataNet.action = actionDeleteFileDirectory;
+        metadataNet.delegate = self;
         metadataNet.fileID = metadata.fileID;
         metadataNet.fileName = metadata.fileName;
         metadataNet.fileNamePrint = metadata.fileNamePrint;