Fix external storage priority logic
This commit is contained in:
parent
2efffb810d
commit
8f4b780a90
|
@ -65,7 +65,7 @@ class UserGlobalStoragesController extends StoragesController {
|
||||||
* @NoAdminRequired
|
* @NoAdminRequired
|
||||||
*/
|
*/
|
||||||
public function index() {
|
public function index() {
|
||||||
$storages = $this->service->getAllStorages();
|
$storages = $this->service->getUniqueStorages();
|
||||||
|
|
||||||
// remove configuration data, this must be kept private
|
// remove configuration data, this must be kept private
|
||||||
foreach ($storages as $storage) {
|
foreach ($storages as $storage) {
|
||||||
|
|
Loading…
Reference in New Issue