소스 검색

Less lines of code please.

Daniele Alessandri 14 년 전
부모
커밋
3d80ff489a
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      lib/Predis.php

+ 1 - 2
lib/Predis.php

@@ -519,8 +519,7 @@ class MultiExecContext {
                 }
                 $this->reset();
                 if (isset($this->_options['on_retry']) && is_callable($this->_options['on_retry'])) {
-                    $retryCallback = $this->_options['on_retry'];
-                    call_user_func($retryCallback, $this, $attemptsLeft);
+                    call_user_func($this->_options['on_retry'], $this, $attemptsLeft);
                 }
                 continue;
             }