summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/user
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-04-09 18:39:35 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-06-03 12:59:10 +0200
commit342e1fd3bf267745a074d046323dc37a732da3c6 (patch)
treebb57d23e151a8d88a4e3ca64d01525090c82c67a /apps/user_ldap/lib/user
parent11f7823e1b098f907ef17e4a305efcc8a2f67a71 (diff)
downloadnextcloud-server-342e1fd3bf267745a074d046323dc37a732da3c6.tar.gz
nextcloud-server-342e1fd3bf267745a074d046323dc37a732da3c6.zip
port of PR #8038
Diffstat (limited to 'apps/user_ldap/lib/user')
-rw-r--r--apps/user_ldap/lib/user/user.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/user/user.php b/apps/user_ldap/lib/user/user.php
index 91417dbae6c..c0f2ebf0fa9 100644
--- a/apps/user_ldap/lib/user/user.php
+++ b/apps/user_ldap/lib/user/user.php
@@ -268,8 +268,7 @@ class User {
}
}
if(!is_null($quota)) {
- $this->config->setUserValue($this->uid, 'files', 'quota',
- \OCP\Util::computerFileSize($quota));
+ $this->config->setUserValue($this->uid, 'files', 'quota', $quota);
}
}