mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00:00
Merge pull request #18433 from owncloud/get-mountpoints-return
add missing return statements in getSystem/getPersonalMountPoints
This commit is contained in:
commit
9dda39bf48
@ -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 New Issue
Block a user