summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-11-02 16:41:49 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-11-02 19:20:37 +0100
commitc8cf98652730391dcab1e25494981a901c25ca8d (patch)
treef2c564603f9b9f45977cf52af975324df372eeb2 /apps
parent2452a3ec732263a598c225bbb0991f24c3cbbcec (diff)
downloadnextcloud-server-c8cf98652730391dcab1e25494981a901c25ca8d.tar.gz
nextcloud-server-c8cf98652730391dcab1e25494981a901c25ca8d.zip
Fix files_sharing
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/AppInfo/Application.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/AppInfo/Application.php b/apps/files_sharing/lib/AppInfo/Application.php
index a7d4755fbf0..195d56f3539 100644
--- a/apps/files_sharing/lib/AppInfo/Application.php
+++ b/apps/files_sharing/lib/AppInfo/Application.php
@@ -37,6 +37,7 @@ use OC\AppFramework\Utility\SimpleContainer;
use OCA\Files_Sharing\Controller\ExternalSharesController;
use OCA\Files_Sharing\Controller\ShareController;
use OCA\Files_Sharing\Middleware\SharingCheckMiddleware;
+use OCP\AppFramework\Utility\IControllerMethodReflector;
use OCP\Defaults;
use OCP\Federation\ICloudIdManager;
use \OCP\IContainer;
@@ -120,7 +121,7 @@ class Application extends App {
$c->query('AppName'),
$server->getConfig(),
$server->getAppManager(),
- $c['ControllerMethodReflector'],
+ $server->query(IControllerMethodReflector::class),
$server->getShareManager(),
$server->getRequest()
);