From 3a796d1e1533febc63a2719816815b47f2065e82 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 9 Feb 2016 17:16:43 +0100 Subject: Consolidate getQuota and setQuota methods in User instance --- apps/provisioning_api/lib/users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/provisioning_api') 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']); -- cgit v1.2.3