diff --git a/lib/User/UserEntry.php b/lib/User/UserEntry.php index 333f1a74..564bd18b 100644 --- a/lib/User/UserEntry.php +++ b/lib/User/UserEntry.php @@ -210,7 +210,7 @@ public function getDisplayName() { * values are 'none' (unlimited), 'default' (the ownCloud's default quota), '1234' (quota in * bytes), '1234 MB' (quota in MB - check the \OC_Helper::computerFileSize method for more info) * - * @return string|false quota + * @return string|null quota * TODO throw Exception for invalid values after https://github.com/owncloud/core/pull/28805 has been merged */ public function getQuota() { @@ -238,9 +238,6 @@ public function getQuota() { } } } - if ($quota === null) { - $quota = false; - } \OC::$server->getLogger()->debug("using quota <$quota> for user <{$this->getOwnCloudUID()}>", ['app' => 'user_ldap']); return $quota;