diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-04-05 22:35:59 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-04-11 15:04:01 +0200 |
commit | 53bca14a27538e457f69fbbdf5aeae2eb3194706 (patch) | |
tree | acdddd5a0519a6b839018c7a02025a86807e563c /apps/federatedfilesharing/lib/AppInfo/Application.php | |
parent | 3bc72f7224b6698c13d66c102e55e65467105c94 (diff) | |
download | nextcloud-server-53bca14a27538e457f69fbbdf5aeae2eb3194706.tar.gz nextcloud-server-53bca14a27538e457f69fbbdf5aeae2eb3194706.zip |
Do proper DI
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/federatedfilesharing/lib/AppInfo/Application.php')
-rw-r--r-- | apps/federatedfilesharing/lib/AppInfo/Application.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/federatedfilesharing/lib/AppInfo/Application.php b/apps/federatedfilesharing/lib/AppInfo/Application.php index daeb049a31e..9d8464e37d5 100644 --- a/apps/federatedfilesharing/lib/AppInfo/Application.php +++ b/apps/federatedfilesharing/lib/AppInfo/Application.php @@ -51,7 +51,7 @@ class Application extends App { $notification = new Notifications( $addressHandler, $server->getHTTPClientService(), - $server->getOCSDiscoveryService(), + $server->query(\OCP\OCS\IDiscoveryService::class), \OC::$server->getJobList() ); return new RequestHandlerController( @@ -99,7 +99,7 @@ class Application extends App { $notifications = new \OCA\FederatedFileSharing\Notifications( $addressHandler, \OC::$server->getHTTPClientService(), - \OC::$server->getOCSDiscoveryService(), + \OC::$server->query(\OCP\OCS\IDiscoveryService::class), \OC::$server->getJobList() ); $tokenHandler = new \OCA\FederatedFileSharing\TokenHandler( |