diff options
author | Simon Rettberg | 2019-03-11 16:11:39 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-03-11 16:11:39 +0100 |
commit | e2bed20e94b68ffade8884f1c38c27d059805a85 (patch) | |
tree | bee2ac65cad9cd64168795085ec6c4f9bb37ca52 | |
parent | [serversetup-bwlp-ipxe] Show bootentryid in list (diff) | |
download | slx-admin-e2bed20e94b68ffade8884f1c38c27d059805a85.tar.gz slx-admin-e2bed20e94b68ffade8884f1c38c27d059805a85.tar.xz slx-admin-e2bed20e94b68ffade8884f1c38c27d059805a85.zip |
[serversetup-bwlp-ipxe] Fix: Module name is locations, not location
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/inc/ipxemenu.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
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); |