diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2016-02-09 17:16:43 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2016-02-09 17:16:43 +0100 |
commit | 3a796d1e1533febc63a2719816815b47f2065e82 (patch) | |
tree | 3fdf9dab718f2a186341d875763c6f8fafd5b7db /lib/private/server.php | |
parent | 4659bf9b4a880376e690d3ca52e855a861c143f1 (diff) | |
download | nextcloud-server-3a796d1e1533febc63a2719816815b47f2065e82.tar.gz nextcloud-server-3a796d1e1533febc63a2719816815b47f2065e82.zip |
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..9dfae860090 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) { /** @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)); }); return $userSession; }); |