Keep the current quota if no suitable quota is found
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
5f25dd7095
commit
d6d895dd74
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue