예제 #1
0
 /**
  * Bury a job
  *
  * @param BeanQueueJob $in_job job to bury
  * @param integer $in_pri new priority
  * @return integer operation status
  */
 public static function bury(&$in_job, $in_pri)
 {
     if (BeanStalk::DEBUG) {
         echo __METHOD__ . "\n";
     }
     return $in_job->bury($in_pri);
 }
예제 #2
0
 /**
  * Bury a job
  * 
  * @param BeanQueueJob $in_job job to bury
  * @param integer $in_pri new priority
  * @return integer operation status
  */
 public static function bury(&$in_job, $in_pri)
 {
     if (Core_Controller_Action_Helper_BeanStalk::DEBUG) {
         echo __METHOD__ . "\n";
     }
     return $in_job->bury($in_pri);
 }