Skip to content

Commit

Permalink
Merge pull request #18433 from owncloud/get-mountpoints-return
Browse files Browse the repository at this point in the history
add missing return statements in getSystem/getPersonalMountPoints
  • Loading branch information
icewind1991 committed Aug 19, 2015
2 parents 313cb09 + 273c776 commit 9dda39b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/files_external/lib/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ public static function getSystemMountPoints() {
foreach ($service->getAllStorages() as $storage) {
$mountPoints[] = self::prepareMountPointEntry($storage, false);
}

return $mountPoints;
}

/**
Expand All @@ -181,6 +183,8 @@ public static function getPersonalMountPoints() {
foreach ($service->getAllStorages() as $storage) {
$mountPoints[] = self::prepareMountPointEntry($storage, true);
}

return $mountPoints;
}

/**
Expand Down

0 comments on commit 9dda39b

Please sign in to comment.