diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/federatedfilesharing/lib/discoverymanager.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/ajax/external.php | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/apps/federatedfilesharing/lib/discoverymanager.php b/apps/federatedfilesharing/lib/discoverymanager.php index 1df510438d7..51ea71195fa 100644 --- a/apps/federatedfilesharing/lib/discoverymanager.php +++ b/apps/federatedfilesharing/lib/discoverymanager.php @@ -104,7 +104,9 @@ class DiscoveryManager { } } } catch (ClientException $e) { + // Don't throw any exception since exceptions are handled before } catch (ConnectException $e) { + // Don't throw any exception since exceptions are handled before } // Write into cache diff --git a/apps/files_sharing/ajax/external.php b/apps/files_sharing/ajax/external.php index 2e963d55491..76f9d5d7668 100644 --- a/apps/files_sharing/ajax/external.php +++ b/apps/files_sharing/ajax/external.php @@ -67,6 +67,7 @@ $externalManager = new \OCA\Files_Sharing\External\Manager( \OC\Files\Filesystem::getLoader(), \OC::$server->getHTTPHelper(), \OC::$server->getNotificationManager(), + $discoveryManager, \OC::$server->getUserSession()->getUser()->getUID() ); |