Esempio n. 1
0
 /**
  * @fixme doesn't currently report failure back to the queue manager
  * because omb_broadcast_notice() doesn't report it to us
  */
 function handle($notice)
 {
     if ($this->is_remote($notice)) {
         common_log(LOG_DEBUG, 'Ignoring remote notice ' . $notice->id);
         return true;
     } else {
         require_once INSTALLDIR . '/lib/omb.php';
         omb_broadcast_notice($notice);
         return true;
     }
 }
Esempio n. 2
0
 /**
  * @fixme doesn't currently report failure back to the queue manager
  * because omb_broadcast_notice() doesn't report it to us
  */
 function handle($notice)
 {
     if ($this->is_remote($notice)) {
         common_log(LOG_DEBUG, 'Ignoring remote notice ' . $notice->id);
         return true;
     } else {
         require_once dirname(__FILE__) . '/omb.php';
         omb_broadcast_notice($notice);
         return true;
     }
 }