diff options
author | Robin Appelman <robin@icewind.nl> | 2022-02-02 16:25:47 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2022-02-09 16:01:36 +0100 |
commit | de260001f1992c9a711be436a58dc19b8e876180 (patch) | |
tree | 492608cd8ed73b109e3f518422906b8a0c2c84eb /lib | |
parent | b799fd40e9fa5a3c148dd092e538550cf0498f7e (diff) | |
download | nextcloud-server-de260001f1992c9a711be436a58dc19b8e876180.tar.gz nextcloud-server-de260001f1992c9a711be436a58dc19b8e876180.zip |
handle setupFS with null user
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/legacy/OC_Util.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php index 3e3708f201b..9110678537f 100644 --- a/lib/private/legacy/OC_Util.php +++ b/lib/private/legacy/OC_Util.php @@ -308,16 +308,16 @@ class OC_Util { } /** - * Can be set up + * Setup the file system * - * @param string $user + * @param string|null $user * @return boolean * @description configure the initial filesystem based on the configuration * @suppress PhanDeprecatedFunction * @suppress PhanAccessMethodInternal */ - public static function setupFS($user = '') { - self::setupRootFS($user); + public static function setupFS(?string $user = '') { + self::setupRootFS($user ?? ''); if (self::$fsSetup) { return false; |