浏览代码

Removed unused argument for constructor of SafeExecutor and SafeClusterExecutor

Artur Kotyrba 14 年之前
父节点
当前提交
7e4b367a1d
共有 1 个文件被更改,包括 2 次插入2 次删除
  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 {