You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2011/06/14 16:15:15 UTC

svn commit: r1135588 - /incubator/vcl/trunk/web/.ht-inc/requests.php

Author: jfthomps
Date: Tue Jun 14 14:15:15 2011
New Revision: 1135588

URL: http://svn.apache.org/viewvc?rev=1135588&view=rev
Log:
VCL-30

modified connectRequest - if imaging reservation for windows, set userid to Administrator

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

Modified: incubator/vcl/trunk/web/.ht-inc/requests.php
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/requests.php?rev=1135588&r1=1135587&r2=1135588&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/requests.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/requests.php Tue Jun 14 14:15:15 2011
@@ -2668,7 +2668,9 @@ function connectRequest() {
 				$first = 0;
 			else
 				print "<hr>\n";
-			if(preg_match('/(.*)@(.*)/', $user['unityid'], $matches))
+			if($requestData['forimaging'] && $res['OStype'] == 'windows')
+				$conuser = 'Administrator';
+			elseif(preg_match('/(.*)@(.*)/', $user['unityid'], $matches))
 				$conuser = $matches[1];
 			else
 				$conuser = $user['unityid'];