compile errors in DBQueueManager

This commit is contained in:
Evan Prodromou 2009-07-01 11:09:42 -04:00
parent 854c82cfd5
commit 58b427869a

View File

@ -34,7 +34,7 @@ class DBQueueManager extends QueueManager
function enqueue($object, $queue)
{
$notice = (Notice)$object;
$notice = $object;
$qi = new Queue_item();
@ -76,7 +76,9 @@ class DBQueueManager extends QueueManager
function done($object, $queue)
{
$notice = (Notice)$object;
// XXX: right now, we only handle notices
$notice = $object;
$qi = Queue_item::pkeyGet(array('notice_id' => $notice->id,
'transport' => $queue));