diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 19:04:20 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 19:04:20 +0200 |
commit | 254b8b95065b4e2f27a8d2620f26bef65269957b (patch) | |
tree | 23a0ff8b76397a5271d1aa45a6a07b0e8ed5a2f3 /apps/files_sharing | |
parent | 70cea18cce0fcdb4d8118ff2d7abccc922417a6a (diff) | |
download | nextcloud-server-254b8b95065b4e2f27a8d2620f26bef65269957b.tar.gz nextcloud-server-254b8b95065b4e2f27a8d2620f26bef65269957b.zip |
porting of OC_User to public API complete.
What better thing to do during a long train ride than refactoring ;-)
Diffstat (limited to 'apps/files_sharing')
-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) { |