diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-02-29 22:44:40 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-02-29 22:44:40 +0100 |
commit | 88fc5149eddcbeaf41358c0eb56be45ad2c94a59 (patch) | |
tree | fc9f7d35cf202c0e827c98c821409c6c503b7fb4 | |
parent | 59028cced0a4f7377de9c22012c7624440b14a56 (diff) | |
download | nextcloud-server-88fc5149eddcbeaf41358c0eb56be45ad2c94a59.tar.gz nextcloud-server-88fc5149eddcbeaf41358c0eb56be45ad2c94a59.zip |
Fix Scrutinizer issues
-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() ); |