summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/rest
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2017-11-27 09:54:29 +0000
committerramon <ramongomez@us.es>2017-11-27 09:54:29 +0000
commit9240a631a380eb9d41a9938944cf6849c0e9475f (patch)
treef8171d9c3150841c84e27d0c462737b472c7498a /admin/WebConsole/rest
parentc69a634435ebdfd55b6f35e84ca921fd1090e320 (diff)
#708: Corrección errata en consulta SQL que provocaba duplicado de operaciones en cola de ejecución de OGAgent.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5519 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/rest')
-rw-r--r--admin/WebConsole/rest/remotepc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/rest/remotepc.php b/admin/WebConsole/rest/remotepc.php
index 7486b4f6..98166391 100644
--- a/admin/WebConsole/rest/remotepc.php
+++ b/admin/WebConsole/rest/remotepc.php
@@ -405,7 +405,7 @@ EOD;
writeRemotepcLog($app->request()->getResourceUri(). ": Updating database.");
$cmd->texto = <<<EOD
DELETE FROM ogagent_queue
- WHERE clientid = '$clntid' AND command IN ('popup-10', 'popup-5', 'poweroff');
+ WHERE clientid = '$clntid' AND operation IN ('popup-10', 'popup-5', 'poweroff');
EOD;
$cmd->Ejecutar();
# Add new commands to OGAgent operations queue.