Browse Source

Removed unused argument for constructor of SafeExecutor and SafeClusterExecutor

Artur Kotyrba 14 years ago
parent
commit
7e4b367a1d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/Predis/Client.php

+ 2 - 2
lib/Predis/Client.php

@@ -185,8 +185,8 @@ class Client {
                 $connection = $this->_connection;
                 $pipeline = new PipelineContext($this,
                     Helpers::isCluster($connection)
-                        ? new Pipeline\SafeClusterExecutor($connection)
-                        : new Pipeline\SafeExecutor($connection)
+                        ? new Pipeline\SafeClusterExecutor()
+                        : new Pipeline\SafeExecutor()
                 );
             }
             else {