Prevent invalid storages being displayed in the storages view

This commit is contained in:
Robin McCorkell 2016-01-26 10:41:59 +00:00
parent ecf2d178b1
commit 30509a479f

View file

@ -268,7 +268,7 @@ abstract class StoragesController extends Controller {
* @return DataResponse
*/
public function index() {
$storages = $this->service->getAllStorages();
$storages = $this->service->getStorages();
return new DataResponse(
$storages,