Bläddra i källkod

Remove Predis\Client::rawCommand() due to interface inconsistencies.

Daniele Alessandri 14 år sedan
förälder
incheckning
8769567c7e
1 ändrade filer med 0 tillägg och 7 borttagningar
  1. 0 7
      lib/Predis.php

+ 0 - 7
lib/Predis.php

@@ -221,13 +221,6 @@ class Client {
         return $replies;
     }
 
-    public function rawCommand($rawCommandData, $closesConnection = false) {
-        if (Utils::isCluster($this->_connection)) {
-            throw new ClientException('Cannot send raw commands when connected to a cluster of Redis servers');
-        }
-        return $this->_connection->rawCommand($rawCommandData, $closesConnection);
-    }
-
     private function sharedInitializer($argv, $initializer) {
         $argc = count($argv);
         if ($argc === 0) {