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 /apps/provisioning_api | |
parent | 4659bf9b4a880376e690d3ca52e855a861c143f1 (diff) | |
download | nextcloud-server-3a796d1e1533febc63a2719816815b47f2065e82.tar.gz nextcloud-server-3a796d1e1533febc63a2719816815b47f2065e82.zip |
Consolidate getQuota and setQuota methods in User instance
Diffstat (limited to 'apps/provisioning_api')
-rw-r--r-- | apps/provisioning_api/lib/users.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/users.php b/apps/provisioning_api/lib/users.php index efb10a50865..c609c7bd849 100644 --- a/apps/provisioning_api/lib/users.php +++ b/apps/provisioning_api/lib/users.php @@ -278,7 +278,7 @@ class Users { $quota = \OCP\Util::humanFileSize($quota); } } - $this->config->setUserValue($targetUserId, 'files', 'quota', $quota); + $targetUser->setQuota($quota); break; case 'password': $targetUser->setPassword($parameters['_put']['value']); |