mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
handle setupFS with null user
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
f9b74b3ced
commit
7f5a3695b7
1 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue