소스 검색

Merge pull request #46 from nkornev/patch-1

Update GearmanClient.php
Marc 11 년 전
부모
커밋
43722df39e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Service/GearmanClient.php

+ 1 - 1
Service/GearmanClient.php

@@ -433,7 +433,7 @@ class GearmanClient extends AbstractGearmanService
      */
     public function addTaskBackground($name, $params = '', &$context = null, $unique = null)
     {
-        $this->enqueueTask($name, $params, $context, $unique, GearmanMethods::GEARMAN_METHOD_ADDTASKNACKGROUND);
+        $this->enqueueTask($name, $params, $context, $unique, GearmanMethods::GEARMAN_METHOD_ADDTASKBACKGROUND);
 
         return $this;
     }