summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuan Pablo Villafáñez <jvillafanez@solidgear.es>2017-08-16 09:56:37 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-09-28 01:13:48 +0200
commitd6d895dd748bfde914a68bc9b0cd5221243f4d09 (patch)
tree6c31826cbd32b65dbf1564106606a283b1d7ed19
parent5f25dd7095fadccb7458dbe09c048fbf6645552d (diff)
downloadnextcloud-server-d6d895dd748bfde914a68bc9b0cd5221243f4d09.tar.gz
nextcloud-server-d6d895dd748bfde914a68bc9b0cd5221243f4d09.zip
Keep the current quota if no suitable quota is found
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-rw-r--r--apps/user_ldap/lib/User/User.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/User/User.php b/apps/user_ldap/lib/User/User.php
index 5017f35ed0a..a46b0053b40 100644
--- a/apps/user_ldap/lib/User/User.php
+++ b/apps/user_ldap/lib/User/User.php
@@ -529,7 +529,6 @@ class User {
$targetUser->setQuota($quota);
} else {
$this->log->log('not suitable default quota found for user ' . $this->uid . ': [' . $defaultQuota . ']', \OCP\Util::WARN);
- $targetUser->setQuota('default');
}
} else {
$this->log->log('trying to set a quota for user ' . $this->uid . ' but the user is missing', \OCP\Util::ERROR);