Author: jfthomps
Date: Thu Dec 18 19:09:20 2014
New Revision: 1646514

URL: http://svn.apache.org/r1646514
Log:
VCL-16 - Enhance cluster reservation process

requests.php: modified AJconnectRequest: removed updating of lastcheck; this 
was in place for the backend to quickly pick up when a user clicks Connect; 
backend behaviour has changed and it is no longer needed

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

Modified: vcl/trunk/web/.ht-inc/requests.php
URL: 
http://svn.apache.org/viewvc/vcl/trunk/web/.ht-inc/requests.php?rev=1646514&r1=1646513&r2=1646514&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/requests.php (original)
+++ vcl/trunk/web/.ht-inc/requests.php Thu Dec 18 19:09:20 2014
@@ -4160,10 +4160,8 @@ function AJconnectRequest() {
        $h = '';
        $now = time();
        if($requestData['reservations'][0]['remoteIP'] != $remoteIP) {
-               $setback = unixToDatetime($now - SECINDAY);
                $query = "UPDATE reservation "
-                      . "SET remoteIP = '$remoteIP', "
-                      .     "lastcheck = '$setback' "
+                      . "SET remoteIP = '$remoteIP' "
                       . "WHERE requestid = $requestid";
                $qh = doQuery($query, 226);
 


Reply via email to