Merge pull request #18433 from owncloud/get-mountpoints-return
add missing return statements in getSystem/getPersonalMountPoints
This commit is contained in:
commit
9dda39bf48
1 changed files with 4 additions and 0 deletions
|
@ -165,6 +165,8 @@ class OC_Mount_Config {
|
|||
foreach ($service->getAllStorages() as $storage) {
|
||||
$mountPoints[] = self::prepareMountPointEntry($storage, false);
|
||||
}
|
||||
|
||||
return $mountPoints;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -181,6 +183,8 @@ class OC_Mount_Config {
|
|||
foreach ($service->getAllStorages() as $storage) {
|
||||
$mountPoints[] = self::prepareMountPointEntry($storage, true);
|
||||
}
|
||||
|
||||
return $mountPoints;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue