From 264aaf9ffaf71b2fc8a6bd2f5d5c9bf4a6d403de Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Thu, 11 Aug 2016 09:38:06 +0200 Subject: [PATCH] use $userId instead of $user --- lib/private/legacy/util.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php index cea7847b3d3..a31d02dc01e 100644 --- a/lib/private/legacy/util.php +++ b/lib/private/legacy/util.php @@ -291,11 +291,11 @@ class OC_Util { /** * Get the quota of a user * - * @param string $user + * @param string $userId * @return int Quota bytes */ - public static function getUserQuota($user) { - $user = \OC::$server->getUserManager()->get($user); + public static function getUserQuota($userId) { + $user = \OC::$server->getUserManager()->get($userId); if (is_null($user)) { return \OCP\Files\FileInfo::SPACE_UNLIMITED; } -- 2.39.5