Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/ajax/userautocomplete.php')
-rwxr-xr-x[-rw-r--r--]apps/files_sharing/ajax/userautocomplete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/ajax/userautocomplete.php b/apps/files_sharing/ajax/userautocomplete.php
index cc22a0cd1a7..83fdc3bdf4d 100644..100755
--- a/apps/files_sharing/ajax/userautocomplete.php
+++ b/apps/files_sharing/ajax/userautocomplete.php
@@ -8,7 +8,7 @@ OC_JSON::checkAppEnabled('files_sharing');
$users = array();
$groups = array();
-$self = OC_User::getUser();
+$self = OCP\USER::getUser();
$userGroups = OC_Group::getUserGroups($self);
$users[] = "<optgroup label='Users'>";
$groups[] = "<optgroup label='Groups'>";