vcl-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jftho...@apache.org
Subject svn commit: r1644527 - /vcl/trunk/web/.ht-inc/dashboard.php
Date Wed, 10 Dec 2014 21:26:17 GMT
Author: jfthomps
Date: Wed Dec 10 21:26:17 2014
New Revision: 1644527

URL: http://svn.apache.org/r1644527
Log:
VCL-717 - Prevent multiple failed image creation messages being sent to user

dashboard.php: modified AJrestartImageCapture: updated query to set request.laststateid to
10

Modified:
    vcl/trunk/web/.ht-inc/dashboard.php

Modified: vcl/trunk/web/.ht-inc/dashboard.php
URL: http://svn.apache.org/viewvc/vcl/trunk/web/.ht-inc/dashboard.php?rev=1644527&r1=1644526&r2=1644527&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/dashboard.php (original)
+++ vcl/trunk/web/.ht-inc/dashboard.php Wed Dec 10 21:26:17 2014
@@ -860,7 +860,8 @@ function AJrestartImageCapture() {
 	$query = "UPDATE computer c, "
 	       .        "request rq "
 	       . "SET c.stateid = 8, "
-	       .     "rq.stateid = 16 "
+	       .     "rq.stateid = 16, "
+	       .     "rq.laststateid = 10 "
 	       . "WHERE c.id = $compid AND "
 	       .       "rq.id = $requestid";
 	doQuery($query);



Mime
View raw message