summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-01 11:09:42 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-07-01 11:09:42 -0400
commit58b427869a001a91d66cff497f1563b8277f1a67 (patch)
treeebaf07e86cf3f9abc4e1a06842f885c32a403853
parent854c82cfd53cb071afa39259fb467b4730bd6494 (diff)
compile errors in DBQueueManager
-rw-r--r--lib/dbqueuemanager.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/dbqueuemanager.php b/lib/dbqueuemanager.php
index c0d4dcd29..46be54b30 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));