From 254b8b95065b4e2f27a8d2620f26bef65269957b Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Tue, 1 May 2012 19:04:20 +0200 Subject: porting of OC_User to public API complete. What better thing to do during a long train ride than refactoring ;-) --- apps/files_sharing/lib_share.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_sharing') 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) { -- cgit v1.2.3