瀏覽代碼

Remove the method Predis\Network\TcpConnection::rawCommand().

Daniele Alessandri 14 年之前
父節點
當前提交
014adfe75d
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      lib/Predis.php

+ 0 - 5
lib/Predis.php

@@ -1319,11 +1319,6 @@ class TcpConnection extends ConnectionBase implements IConnectionSingle {
         return $skipparse ? $response : $command->parseResponse($response);
         return $skipparse ? $response : $command->parseResponse($response);
     }
     }
 
 
-    public function rawCommand($buffer) {
-        $this->writeBytes($buffer);
-        return $this->_protocol->read($this);
-    }
-
     public function writeBytes($value) {
     public function writeBytes($value) {
         $socket = $this->getResource();
         $socket = $this->getResource();
         while (($length = strlen($value)) > 0) {
         while (($length = strlen($value)) > 0) {