diff options
author | C. Montero Luque <cmonteroluque@users.noreply.github.com> | 2016-02-09 22:00:24 +0100 |
---|---|---|
committer | C. Montero Luque <cmonteroluque@users.noreply.github.com> | 2016-02-09 22:00:24 +0100 |
commit | 962d0c3290fc5b881c579d553373f3facaa3ab3e (patch) | |
tree | 90764075266a7708ba5ef899a5bdd4e60cbb03be /lib/private/server.php | |
parent | a39c7591d6b0bfcb323cd14a5c1164576eaf7559 (diff) | |
parent | 03d0fb4e3f9734b36e015baa90901b222d03689c (diff) | |
download | nextcloud-server-962d0c3290fc5b881c579d553373f3facaa3ab3e.tar.gz nextcloud-server-962d0c3290fc5b881c579d553373f3facaa3ab3e.zip |
Merge pull request #22252 from owncloud/consolidate-user-set-quota
Consolidate getQuota and setQuota methods in User instance
Diffstat (limited to 'lib/private/server.php')
-rw-r--r-- | lib/private/server.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/server.php b/lib/private/server.php index 0d1bed4e7d2..b52c5188a7b 100644 --- a/lib/private/server.php +++ b/lib/private/server.php @@ -244,9 +244,9 @@ class Server extends ServerContainer implements IServerContainer { $userSession->listen('\OC\User', 'logout', function () { \OC_Hook::emit('OC_User', 'logout', array()); }); - $userSession->listen('\OC\User', 'changeUser', function ($user) { + $userSession->listen('\OC\User', 'changeUser', function ($user, $feature, $value) { /** @var $user \OC\User\User */ - \OC_Hook::emit('OC_User', 'changeUser', array('run' => true, 'user' => $user)); + \OC_Hook::emit('OC_User', 'changeUser', array('run' => true, 'user' => $user, 'feature' => $feature, 'value' => $value)); }); return $userSession; }); |