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:
authorFrank Karlitschek <frank@owncloud.org>2012-05-01 21:04:20 +0400
committerFrank Karlitschek <frank@owncloud.org>2012-05-01 21:04:20 +0400
commit254b8b95065b4e2f27a8d2620f26bef65269957b (patch)
tree23a0ff8b76397a5271d1aa45a6a07b0e8ed5a2f3 /apps/files_sharing
parent70cea18cce0fcdb4d8118ff2d7abccc922417a6a (diff)
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-xapps/files_sharing/lib_share.php2
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) {