From: Evan Prodromou Date: Wed, 1 Jul 2009 15:09:42 +0000 (-0400) Subject: compile errors in DBQueueManager X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=58b427869a001a91d66cff497f1563b8277f1a67;p=quix0rs-gnu-social.git compile errors in DBQueueManager --- diff --git a/lib/dbqueuemanager.php b/lib/dbqueuemanager.php index c0d4dcd293..46be54b30b 100644 --- a/lib/dbqueuemanager.php +++ b/lib/dbqueuemanager.php @@ -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));