summaryrefslogtreecommitdiffstats
path: root/modules-available/rebootcontrol/pages/task.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2019-12-10 18:18:28 +0100
committerSimon Rettberg2019-12-10 18:18:28 +0100
commitb497d4a7200591e0b7b91948120cbfa395f5c92f (patch)
tree6e384142228882f422a3766c8e8598034f323dc2 /modules-available/rebootcontrol/pages/task.inc.php
parent[rebootcontrol] Fix jumphost script template (missing %) (diff)
downloadslx-admin-b497d4a7200591e0b7b91948120cbfa395f5c92f.tar.gz
slx-admin-b497d4a7200591e0b7b91948120cbfa395f5c92f.tar.xz
slx-admin-b497d4a7200591e0b7b91948120cbfa395f5c92f.zip
[statistics/rebootcontrol] Add remote exec UI
Diffstat (limited to 'modules-available/rebootcontrol/pages/task.inc.php')
-rw-r--r--modules-available/rebootcontrol/pages/task.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/rebootcontrol/pages/task.inc.php b/modules-available/rebootcontrol/pages/task.inc.php
index e52eb981..691fd9e2 100644
--- a/modules-available/rebootcontrol/pages/task.inc.php
+++ b/modules-available/rebootcontrol/pages/task.inc.php
@@ -82,9 +82,9 @@ class SubPage
// Output
if ($type === RebootControl::TASK_REBOOTCTL) {
- $job['clients'] = RebootQueries::getMachinesByUuid(ArrayUtil::flattenByKey($job['clients'], 'machineuuid'));
+ $job['clients'] = RebootUtils::getMachinesByUuid(ArrayUtil::flattenByKey($job['clients'], 'machineuuid'));
} elseif ($type === RebootControl::TASK_EXEC) {
- $details = RebootQueries::getMachinesByUuid(ArrayUtil::flattenByKey($job['clients'], 'machineuuid'), true);
+ $details = RebootUtils::getMachinesByUuid(ArrayUtil::flattenByKey($job['clients'], 'machineuuid'), true);
foreach ($job['clients'] as &$client) {
if (isset($client['machineuuid']) && isset($details[$client['machineuuid']])) {
$client += $details[$client['machineuuid']];