Author: jfthomps
Date: Thu Nov  6 19:09:21 2014
New Revision: 1637185

URL: http://svn.apache.org/r1637185
Log:
VCL-776 - rework resource code to have a base class for all resources and 
inheriting classes for each resource type

computer.php: modified AJsubmitCompStateChange: added 'timeout' to states in 
list for preg_match to put computer in availablenow array

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

Modified: vcl/trunk/web/.ht-inc/computer.php
URL: 
http://svn.apache.org/viewvc/vcl/trunk/web/.ht-inc/computer.php?rev=1637185&r1=1637184&r2=1637185&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/computer.php (original)
+++ vcl/trunk/web/.ht-inc/computer.php Thu Nov  6 19:09:21 2014
@@ -3289,7 +3289,7 @@ class Computer extends Resource {
                                        continue;
                                }
                                # in reload, reloading, reserved, inuse, or 
failed with no active reservation
-                               
if(preg_match('/^(reload|reloading|reserved|inuse|failed)$/',
+                               
if(preg_match('/^(reload|reloading|reserved|inuse|failed|timeout)$/',
                                              $computers[$compid]['state'])) {
                                        $availablenow[] = $compid;
                                        continue;


Reply via email to