Queue_item correct name in dequeue function

darcs-hash:20080726033958-84dde-09d117b3e5bb997ddfd6548806ce7a51a38434e7.gz
This commit is contained in:
Evan Prodromou 2008-07-25 23:39:58 -04:00
parent 341563d6cd
commit b5bd567668

View File

@ -1062,7 +1062,7 @@ function common_enqueue_notice($notice) {
}
function common_dequeue_notice($notice) {
$qi = Queue_Item::staticGet($notice->id);
$qi = Queue_item::staticGet($notice->id);
if ($qi) {
$result = $qi->delete();
if (!$result) {