diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/util.php b/lib/util.php index b5b194519..a80c62287 100644 --- a/lib/util.php +++ b/lib/util.php @@ -1140,23 +1140,6 @@ function common_enqueue_notice($notice) return $result; } -function common_dequeue_notice($notice) -{ - $qi = Queue_item::staticGet($notice->id); - if ($qi) { - $result = $qi->delete(); - if (!$result) { - $last_error = &PEAR::getStaticProperty('DB_DataObject','lastError'); - common_log(LOG_ERR, 'DB error deleting queue item: ' . $last_error->message); - return false; - } - common_log(LOG_DEBUG, 'complete dequeueing notice ID = ' . $notice->id); - return $result; - } else { - return false; - } -} - function common_real_broadcast($notice, $remote=false) { $success = true; |