summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2016-02-09 17:16:43 +0100
committerArthur Schiwon <blizzz@owncloud.com>2016-02-09 17:16:43 +0100
commit3a796d1e1533febc63a2719816815b47f2065e82 (patch)
tree3fdf9dab718f2a186341d875763c6f8fafd5b7db /apps/user_ldap
parent4659bf9b4a880376e690d3ca52e855a861c143f1 (diff)
downloadnextcloud-server-3a796d1e1533febc63a2719816815b47f2065e82.tar.gz
nextcloud-server-3a796d1e1533febc63a2719816815b47f2065e82.zip
Consolidate getQuota and setQuota methods in User instance
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/lib/user/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/user/user.php b/apps/user_ldap/lib/user/user.php
index 3bc790a6c10..8b70c9e2374 100644
--- a/apps/user_ldap/lib/user/user.php
+++ b/apps/user_ldap/lib/user/user.php
@@ -456,7 +456,7 @@ class User {
}
}
if(!is_null($quota)) {
- $this->config->setUserValue($this->uid, 'files', 'quota', $quota);
+ $user = $this->userManager->get($this->uid)->setQuota($quota);
}
}