We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2634206 commit 264aaf9Copy full SHA for 264aaf9
lib/private/legacy/util.php
@@ -291,11 +291,11 @@ public static function isDefaultExpireDateEnforced() {
291
/**
292
* Get the quota of a user
293
*
294
- * @param string $user
+ * @param string $userId
295
* @return int Quota bytes
296
*/
297
- public static function getUserQuota($user) {
298
- $user = \OC::$server->getUserManager()->get($user);
+ public static function getUserQuota($userId) {
+ $user = \OC::$server->getUserManager()->get($userId);
299
if (is_null($user)) {
300
return \OCP\Files\FileInfo::SPACE_UNLIMITED;
301
}
0 commit comments