Fix Scrutinizer issues

This commit is contained in:
Lukas Reschke 2016-02-29 22:44:40 +01:00
parent 59028cced0
commit 88fc5149ed
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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()
);