forked from GNUsocial/gnu-social
compile errors in DBQueueManager
This commit is contained in:
parent
854c82cfd5
commit
58b427869a
@ -34,7 +34,7 @@ class DBQueueManager extends QueueManager
|
|||||||
|
|
||||||
function enqueue($object, $queue)
|
function enqueue($object, $queue)
|
||||||
{
|
{
|
||||||
$notice = (Notice)$object;
|
$notice = $object;
|
||||||
|
|
||||||
$qi = new Queue_item();
|
$qi = new Queue_item();
|
||||||
|
|
||||||
@ -76,7 +76,9 @@ class DBQueueManager extends QueueManager
|
|||||||
|
|
||||||
function done($object, $queue)
|
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,
|
$qi = Queue_item::pkeyGet(array('notice_id' => $notice->id,
|
||||||
'transport' => $queue));
|
'transport' => $queue));
|
||||||
|
Loading…
Reference in New Issue
Block a user