Skip to content

Commit 264aaf9

Browse files
butonicrullzer
authored andcommitted
use $userId instead of $user
1 parent 2634206 commit 264aaf9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/private/legacy/util.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,11 @@ public static function isDefaultExpireDateEnforced() {
291291
/**
292292
* Get the quota of a user
293293
*
294-
* @param string $user
294+
* @param string $userId
295295
* @return int Quota bytes
296296
*/
297-
public static function getUserQuota($user) {
298-
$user = \OC::$server->getUserManager()->get($user);
297+
public static function getUserQuota($userId) {
298+
$user = \OC::$server->getUserManager()->get($userId);
299299
if (is_null($user)) {
300300
return \OCP\Files\FileInfo::SPACE_UNLIMITED;
301301
}

0 commit comments

Comments
 (0)