diff options
author | Simon Rettberg | 2021-12-17 15:51:52 +0100 |
---|---|---|
committer | Simon Rettberg | 2021-12-17 15:51:52 +0100 |
commit | 7f28743897986da7c5ee797d7346e5908d8bcdc0 (patch) | |
tree | f4d3057e1893efba7f8d621c8acb9529cb30b093 | |
parent | [locations/passthrough] Make location assignment recusive (diff) | |
download | slx-admin-7f28743897986da7c5ee797d7346e5908d8bcdc0.tar.gz slx-admin-7f28743897986da7c5ee797d7346e5908d8bcdc0.tar.xz slx-admin-7f28743897986da7c5ee797d7346e5908d8bcdc0.zip |
[serversetup-bwlp-ipxe] Fix "locations" module name -> create constraint
-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 { |