summaryrefslogtreecommitdiffstats
path: root/apps/files_external/settings.php
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-08-18 22:49:29 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-08-19 15:26:38 +0100
commitd577aad4ac876c1ed29f7b81199f607da581239b (patch)
tree55bca408402528a7fff2e4d5a0acb5aa7e4ee534 /apps/files_external/settings.php
parent5fd36d017ecdbce61dcf1c67ae04c8c0be81a4bf (diff)
downloadnextcloud-server-d577aad4ac876c1ed29f7b81199f607da581239b.tar.gz
nextcloud-server-d577aad4ac876c1ed29f7b81199f607da581239b.zip
Use OCP classes as much as possible in files_external
Diffstat (limited to 'apps/files_external/settings.php')
-rw-r--r--apps/files_external/settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/settings.php b/apps/files_external/settings.php
index 9cecc0c6a49..29c0553158f 100644
--- a/apps/files_external/settings.php
+++ b/apps/files_external/settings.php
@@ -28,7 +28,7 @@
use \OCA\Files_External\Service\BackendService;
-OC_Util::checkAdminUser();
+\OCP\User::checkAdminUser();
// we must use the same container
$appContainer = \OC_Mount_Config::$app->getContainer();