summaryrefslogtreecommitdiffstats
path: root/modules-available/rebootcontrol
diff options
context:
space:
mode:
authorSimon Rettberg2021-05-04 17:32:26 +0200
committerSimon Rettberg2021-05-11 14:50:11 +0200
commit1e8329986ef4d06a9bb7550e24f4dacc7715fb5b (patch)
tree67e13b41650992d2266d42c88b91489a65840eae /modules-available/rebootcontrol
parent[systemstatus] Fix displaying VM store usage if using internal storage (diff)
downloadslx-admin-1e8329986ef4d06a9bb7550e24f4dacc7715fb5b.tar.gz
slx-admin-1e8329986ef4d06a9bb7550e24f4dacc7715fb5b.tar.xz
slx-admin-1e8329986ef4d06a9bb7550e24f4dacc7715fb5b.zip
[main+Session] Move session from /tmp/ to session table
Diffstat (limited to 'modules-available/rebootcontrol')
-rw-r--r--modules-available/rebootcontrol/inc/rebootcontrol.inc.php1
-rw-r--r--modules-available/rebootcontrol/pages/exec.inc.php1
2 files changed, 0 insertions, 2 deletions
diff --git a/modules-available/rebootcontrol/inc/rebootcontrol.inc.php b/modules-available/rebootcontrol/inc/rebootcontrol.inc.php
index a8018004..da1dd69a 100644
--- a/modules-available/rebootcontrol/inc/rebootcontrol.inc.php
+++ b/modules-available/rebootcontrol/inc/rebootcontrol.inc.php
@@ -494,7 +494,6 @@ class RebootControl
return;
$id = mt_rand();
Session::set('exec-' . $id, $machines, 60);
- Session::save();
Util::redirect('?do=rebootcontrol&show=exec&what=prepare&id=' . $id);
}
diff --git a/modules-available/rebootcontrol/pages/exec.inc.php b/modules-available/rebootcontrol/pages/exec.inc.php
index e5fe3cd8..6b5ea407 100644
--- a/modules-available/rebootcontrol/pages/exec.inc.php
+++ b/modules-available/rebootcontrol/pages/exec.inc.php
@@ -46,7 +46,6 @@ class SubPage
return;
}
Session::set('exec-' . $id, false);
- Session::save();
Render::addTemplate('exec-enter-command', ['clients' => $machines, 'id' => $id]);
}