diff options
Diffstat (limited to 'apps/files_sharing/lib_share.php')
-rwxr-xr-x | apps/files_sharing/lib_share.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib_share.php b/apps/files_sharing/lib_share.php index 0ccfea180c6..96df29c4f42 100755 --- a/apps/files_sharing/lib_share.php +++ b/apps/files_sharing/lib_share.php @@ -51,7 +51,7 @@ class OC_Share { $uid_shared_with = OC_Group::usersInGroup($gid); // Remove the owner from the list of users in the group $uid_shared_with = array_diff($uid_shared_with, array($uid_owner)); - } else if (OC_User::userExists($uid_shared_with)) { + } else if (OCP\User::userExists($uid_shared_with)) { $userGroups = OC_Group::getUserGroups($uid_owner); // Check if the user is in one of the owner's groups foreach ($userGroups as $group) { |