diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-10-19 11:42:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-19 11:42:37 +0200 |
commit | 7de6f7cd077bc6aab052b00f3c785f9b79efc076 (patch) | |
tree | 2da569e01b481a77839a125320ac484ea6ef959c /apps/user_ldap/lib | |
parent | 3f352d5f3b8208b871f1e0e54d87f0900c0ebfe3 (diff) | |
parent | 3e2015a24c5121422c952485704c15c15a49e3b7 (diff) | |
download | nextcloud-server-7de6f7cd077bc6aab052b00f3c785f9b79efc076.tar.gz nextcloud-server-7de6f7cd077bc6aab052b00f3c785f9b79efc076.zip |
Merge pull request #6677 from nextcloud/downstream-dont-reset-quota
don't reset quota
Diffstat (limited to 'apps/user_ldap/lib')
-rw-r--r-- | apps/user_ldap/lib/Connection.php | 4 | ||||
-rw-r--r-- | apps/user_ldap/lib/User/User.php | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php index 440f5d2444e..3350dd6a5cd 100644 --- a/apps/user_ldap/lib/Connection.php +++ b/apps/user_ldap/lib/Connection.php @@ -436,8 +436,8 @@ class Connection extends LDAPUtility { || ($agent !== '' && $pwd === '') ) { \OCP\Util::writeLog('user_ldap', - $errorStr.'either no password is given for the'. - 'user agent or a password is given, but not an'. + $errorStr.'either no password is given for the '. + 'user agent or a password is given, but not an '. 'LDAP agent.', \OCP\Util::WARN); $configurationOK = false; 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); |