Add a setting to disable ManiaExchange

This commit is contained in:
beu committed 2023-08-14 17:11:09 +02:00
1 parent 129053e951
commit 0ad0d06f85
5 files changed
+62 -8

No files matched your search

@@ -140,6 +140,8 @@ class ManiaExchangeMapSearch implements UsageInformationAble {
* @param callable $function
*/
public function fetchMapsAsync(callable $function) {
if (!$this->maniaControl->getMapManager()->getMXManager()->getStatus()) return;
// compile search URL
$parameters = "";