diff options
author | Simon Rettberg | 2021-12-17 15:51:52 +0100 |
---|---|---|
committer | Simon Rettberg | 2022-03-09 15:06:54 +0100 |
commit | f78817bd5fd96782ae7436a6334fc731c696dd94 (patch) | |
tree | fb694cb011fe3ab11788498c6be52f4fe260bcd4 /modules-available/serversetup-bwlp-ipxe | |
parent | [locations/passthrough] Make location assignment recusive (diff) | |
download | slx-admin-f78817bd5fd96782ae7436a6334fc731c696dd94.tar.gz slx-admin-f78817bd5fd96782ae7436a6334fc731c696dd94.tar.xz slx-admin-f78817bd5fd96782ae7436a6334fc731c696dd94.zip |
[serversetup-bwlp-ipxe] Fix "locations" module name -> create constraint
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe')
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/install.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/install.inc.php b/modules-available/serversetup-bwlp-ipxe/install.inc.php index a8f1cccc..5af00493 100644 --- a/modules-available/serversetup-bwlp-ipxe/install.inc.php +++ b/modules-available/serversetup-bwlp-ipxe/install.inc.php @@ -102,7 +102,7 @@ if (!tableHasColumn('serversetup_localboot', 'pcbios')) { $result[] = tableAddConstraint('serversetup_menuentry', 'refmenuid', 'serversetup_menu', 'menuid', 'ON UPDATE CASCADE ON DELETE SET NULL'); -if (Module::get('location') !== false) { +if (Module::get('locations') !== false) { if (!tableExists('location')) { $result[] = UPDATE_RETRY; } else { |