[index] Fix detect action after listBridges rename (#947)

Commit 88b0656 renamed listBridges function which was not taken into
account when adding the detect action.
This commit is contained in:
Roliga 2018-11-29 16:44:38 +01:00 committed by LogMANOriginal
parent f4b46e497e
commit bdcb7a9829

View file

@ -104,7 +104,7 @@ try {
$format = $params['format']
or returnClientError('You must specify a format!');
foreach(Bridge::listBridges() as $bridgeName) {
foreach(Bridge::getBridgeNames() as $bridgeName) {
if(!Bridge::isWhitelisted($bridgeName)) {
continue;