diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-03-08 17:32:04 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-03-08 17:32:04 +0100 |
commit | 02e2f7384eca440ce38cec98808cbd8aeb04e9c9 (patch) | |
tree | c1c6a504e67afd76e9cb85f2e13cdab7cee4b5d9 /apps/files_sharing | |
parent | 20828488bc99ceb22516367f8c6be02cb300a882 (diff) | |
download | nextcloud-server-02e2f7384eca440ce38cec98808cbd8aeb04e9c9.tar.gz nextcloud-server-02e2f7384eca440ce38cec98808cbd8aeb04e9c9.zip |
not only files can be reshared but also folders
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/lib/updater.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/updater.php b/apps/files_sharing/lib/updater.php index 69219db8cb3..861025c5933 100644 --- a/apps/files_sharing/lib/updater.php +++ b/apps/files_sharing/lib/updater.php @@ -86,7 +86,7 @@ class Shared_Updater { static public function shareHook($params) { if ($params['itemType'] === 'file' || $params['itemType'] === 'folder') { $uidOwner = \OCP\User::getUser(); - $users = \OCP\Share::getUsersItemShared('file', $params['fileSource'], $uidOwner, true); + $users = \OCP\Share::getUsersItemShared($params['itemType'], $params['fileSource'], $uidOwner, true); if (!empty($users)) { while (!empty($users)) { $reshareUsers = array(); |