add missing return statements in getSystem/getPersonalMountPoints
This commit is contained in:
parent
5fd36d017e
commit
273c776eb7
|
@ -165,6 +165,8 @@ class OC_Mount_Config {
|
||||||
foreach ($service->getAllStorages() as $storage) {
|
foreach ($service->getAllStorages() as $storage) {
|
||||||
$mountPoints[] = self::prepareMountPointEntry($storage, false);
|
$mountPoints[] = self::prepareMountPointEntry($storage, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $mountPoints;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -181,6 +183,8 @@ class OC_Mount_Config {
|
||||||
foreach ($service->getAllStorages() as $storage) {
|
foreach ($service->getAllStorages() as $storage) {
|
||||||
$mountPoints[] = self::prepareMountPointEntry($storage, true);
|
$mountPoints[] = self::prepareMountPointEntry($storage, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $mountPoints;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue