summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2017-10-26 12:14:50 +0000
committerramon <ramongomez@us.es>2017-10-26 12:14:50 +0000
commit399af4d8f0dd47c7e424470a2b993eb7409794b6 (patch)
treed69d7e74909e9462bf752f2623ee09485c419fbe
parent1b7c10262a59fbe50554123c07aba304e05d5992 (diff)
#708: Corregir otra errata en r5484.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5487 a21b9725-9963-47de-94b9-378ad31fedc9
-rw-r--r--admin/WebConsole/rest/remotepc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/admin/WebConsole/rest/remotepc.php b/admin/WebConsole/rest/remotepc.php
index 817b9f28..7ae41d14 100644
--- a/admin/WebConsole/rest/remotepc.php
+++ b/admin/WebConsole/rest/remotepc.php
@@ -405,7 +405,7 @@ DELETE FROM ogagent_queue
EOD;
$cmd->Ejecutar();
# Add new commands to OGAgent operations queue.
- $cmd->texto = "INSERT INTO ogagent_queue (clientid, exectime, command) VALUES";
+ $cmd->texto = "INSERT INTO ogagent_queue (clientid, exectime, operation) VALUES";
if ($deadLine > 600) {
# Add reminder 10 min. before deadline.
$cmd->texto .= " ($clntid, NOW() + INTERVAL $deadLine SECOND - INTERVAL 10 MINUTE, 'popup-10'),";
@@ -416,7 +416,6 @@ EOD;
}
# Add power off command at deadline time.
$cmd->texto .= " ($clntid, NOW() + INTERVAL $deadLine SECOND, 'poweroff');";
-echo $cmd->texto."\n";
if ($cmd->Ejecutar()) {
// Confirm operation.
jsonResponse(200, "");