Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions lib/User/UserEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -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;
Expand Down