From aa71c1305f6c237fb07855a413733aca50b79c5e Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sat, 10 Apr 2010 10:58:40 -0400 Subject: [PATCH] this method is now obsolete --- .../lib/Horde/ActiveSync/Request/Base.php | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/framework/ActiveSync/lib/Horde/ActiveSync/Request/Base.php b/framework/ActiveSync/lib/Horde/ActiveSync/Request/Base.php index 298c64754..06f22458c 100644 --- a/framework/ActiveSync/lib/Horde/ActiveSync/Request/Base.php +++ b/framework/ActiveSync/lib/Horde/ActiveSync/Request/Base.php @@ -151,26 +151,4 @@ abstract class Horde_ActiveSync_Request_Base $this->_logger->info('Request received from device: ' . $devId . ' Supporting protocol version: ' . $this->_version); } - /** - * Read input from the php input stream - * - * @TODO: Get rid of this - the wbxml classes have a php:// stream already - * and when we need *just* the stream and not wbxml, we can use - * $request->body - * - * @return string - */ - protected function _readStream() - { - $s = ""; - while (1) { - $data = fread($this->_inputStream, 4096); - if (strlen($data) == 0) { - break; - } - $s .= $data; - } - - return $s; - } } -- 2.11.0