diff options
author | Christian Hofmaier | 2020-10-13 18:24:41 +0200 |
---|---|---|
committer | Christian Hofmaier | 2020-10-13 18:24:41 +0200 |
commit | 6ef48b756c51e33f64f74fc9fdd96c9e6f4ff1c0 (patch) | |
tree | 1b25330880065efa168cb5c69773d545df7cfc01 /modules-available/runmode/baseconfig/getconfig.inc.php | |
parent | [locationinfo] add forward link to location module (diff) | |
parent | [dozmod] Implement deleting orphaned files from vm store (diff) | |
download | slx-admin-6ef48b756c51e33f64f74fc9fdd96c9e6f4ff1c0.tar.gz slx-admin-6ef48b756c51e33f64f74fc9fdd96c9e6f4ff1c0.tar.xz slx-admin-6ef48b756c51e33f64f74fc9fdd96c9e6f4ff1c0.zip |
Merge branch 'master' of git.openslx.org:openslx-ng/slx-admin
merge branch 'master'
Diffstat (limited to 'modules-available/runmode/baseconfig/getconfig.inc.php')
-rw-r--r-- | modules-available/runmode/baseconfig/getconfig.inc.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules-available/runmode/baseconfig/getconfig.inc.php b/modules-available/runmode/baseconfig/getconfig.inc.php index 8ea2b2a6..9c36cc75 100644 --- a/modules-available/runmode/baseconfig/getconfig.inc.php +++ b/modules-available/runmode/baseconfig/getconfig.inc.php @@ -1,6 +1,6 @@ <?php -$foofoo = function($machineUuid) { +(function($machineUuid) { $res = Database::queryFirst('SELECT module, modeid, modedata FROM runmode WHERE machineuuid = :uuid', array('uuid' => $machineUuid)); if ($res === false) @@ -17,6 +17,4 @@ $foofoo = function($machineUuid) { ConfigHolder::add('SLX_SYSTEMD_TARGET', $config->systemdDefaultTarget, 10000); } ConfigHolder::add('SLX_RUNMODE_MODULE', $res['module']); -}; - -$foofoo($uuid);
\ No newline at end of file +})($uuid); |