소스 검색

Merge pull request #82 from focusshifter/master

Fixed #81. Removed obsolete ‘Job’ concatenation in callJob
Marc Morera 11 년 전
부모
커밋
80e7dc25c3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Service/GearmanClient.php

+ 1 - 1
Service/GearmanClient.php

@@ -281,7 +281,7 @@ class GearmanClient extends AbstractGearmanService
     public function callJob($name, $params = '', $unique = null)
     {
        $worker = $this->getJob($name);
-       $methodCallable = $worker['job']['defaultMethod'] . 'Job';
+       $methodCallable = $worker['job']['defaultMethod'];
 
        return $this->enqueue($name, $params, $methodCallable, $unique);
     }