Will re-enable anything queueing after 0.9.x merge

Revert "Any object (not just Notice's) can be queued"

This reverts commit 77ea02cac3.
This commit is contained in:
Craig Andrews
2010-01-22 17:19:32 -05:00
parent ef7db60fed
commit 78eb9c78a7
19 changed files with 291 additions and 109 deletions

View File

@@ -32,7 +32,14 @@ class EnjitQueueHandler extends QueueHandler
return 'enjit';
}
function handle($notice)
function start()
{
$this->log(LOG_INFO, "Starting EnjitQueueHandler");
$this->log(LOG_INFO, "Broadcasting to ".common_config('enjit', 'apiurl'));
return true;
}
function handle_notice($notice)
{
$profile = Profile::staticGet($notice->profile_id);