Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/WOPI/DiscoveryManager.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/WOPI/DiscoveryManager.php b/lib/WOPI/DiscoveryManager.php
index c3997fe7..1e81223b 100644
--- a/lib/WOPI/DiscoveryManager.php
+++ b/lib/WOPI/DiscoveryManager.php
@@ -96,6 +96,8 @@ class DiscoveryManager {
}
public function refretch() {
- $this->appData->getFile('discovery.xml')->delete();
+ try {
+ $this->appData->getFile('discovery.xml')->delete();
+ } catch(\Exception $e) {}
}
}