diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-01-20 17:00:29 +0100 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2015-01-26 16:58:52 +0100 |
commit | 67da1f7e5ac9fc5472b6041dcfdc81a4b8428379 (patch) | |
tree | c59843c523ac38af745beadaa0baefec5815d3c0 /apps/files_sharing/lib/hooks.php | |
parent | 66f0db30b2ba97cbe91031b42740dabddc659f0d (diff) | |
download | nextcloud-server-67da1f7e5ac9fc5472b6041dcfdc81a4b8428379.tar.gz nextcloud-server-67da1f7e5ac9fc5472b6041dcfdc81a4b8428379.zip |
certificate manager only needs the user-id, no need to pass on the complete user object
Diffstat (limited to 'apps/files_sharing/lib/hooks.php')
-rw-r--r-- | apps/files_sharing/lib/hooks.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/hooks.php b/apps/files_sharing/lib/hooks.php index 6f23c103b1d..10e16be4a91 100644 --- a/apps/files_sharing/lib/hooks.php +++ b/apps/files_sharing/lib/hooks.php @@ -30,8 +30,8 @@ class Hooks { \OC::$server->getDatabaseConnection(), \OC\Files\Filesystem::getMountManager(), \OC\Files\Filesystem::getLoader(), - \OC::$server->getUserSession(), - \OC::$server->getHTTPHelper()); + \OC::$server->getHTTPHelper(), + $params['uid']); $manager->removeUserShares($params['uid']); } |