diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-08-11 09:38:06 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-14 19:50:19 +0200 |
commit | 264aaf9ffaf71b2fc8a6bd2f5d5c9bf4a6d403de (patch) | |
tree | 0226022ca6ed4afc8817837637d5faa5a81af037 | |
parent | 26342061b9b9767577a0f5eee16afd36e3b8b0b1 (diff) | |
download | nextcloud-server-264aaf9ffaf71b2fc8a6bd2f5d5c9bf4a6d403de.tar.gz nextcloud-server-264aaf9ffaf71b2fc8a6bd2f5d5c9bf4a6d403de.zip |
use $userId instead of $user
-rw-r--r-- | lib/private/legacy/util.php | 6 |
1 files 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; } |