Преглед на файлове

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 {