From e2bed20e94b68ffade8884f1c38c27d059805a85 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 11 Mar 2019 16:11:39 +0100 Subject: [serversetup-bwlp-ipxe] Fix: Module name is locations, not location --- modules-available/serversetup-bwlp-ipxe/inc/ipxemenu.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules-available/serversetup-bwlp-ipxe') diff --git a/modules-available/serversetup-bwlp-ipxe/inc/ipxemenu.inc.php b/modules-available/serversetup-bwlp-ipxe/inc/ipxemenu.inc.php index 5c1a87d5..6deea7f7 100644 --- a/modules-available/serversetup-bwlp-ipxe/inc/ipxemenu.inc.php +++ b/modules-available/serversetup-bwlp-ipxe/inc/ipxemenu.inc.php @@ -78,7 +78,7 @@ class IPxeMenu public static function forLocation($locationId) { $chain = null; - if (Module::isAvailable('location')) { + if (Module::isAvailable('locations')) { $chain = Location::getLocationRootChain($locationId); } if (!empty($chain)) { @@ -115,7 +115,7 @@ class IPxeMenu public static function forClient($ip, $uuid) { $locationId = 0; - if (Module::isAvailable('location')) { + if (Module::isAvailable('locations')) { $locationId = Location::getFromIpAndUuid($ip, $uuid); } return self::forLocation($locationId); -- cgit v1.2.3-55-g7522