From ea8483cbe04c96a7aa9de2c58004e1568a13027c Mon Sep 17 00:00:00 2001 From: phamt Date: Thu, 5 Aug 2010 19:17:07 +0000 Subject: [PATCH] Removed getStatus() call git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6990 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/lib/functions.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/xCAT-UI/lib/functions.php b/xCAT-UI/lib/functions.php index cefc59f99..0c4a33688 100644 --- a/xCAT-UI/lib/functions.php +++ b/xCAT-UI/lib/functions.php @@ -51,11 +51,6 @@ function docmd($cmd, $nr, $args){ $socket->setBlocking(true); // Set socket as blocking stream $socket->write($request->asXML()); // Send xCAT request $xml = $socket->readAll(); // Get xCAT response - $status = $socket->getStatus(); - while ($status['unread_bytes']) { - // Do nothing - $status = $socket->getStatus(); - } $socket->disconnect(); // Close socket // submit_request() was the old way of sending the xCAT request