summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-09-15 17:09:47 -0400
committerCraig Andrews <candrews@integralblue.com>2009-09-15 17:09:47 -0400
commitc6675bbddf5a50bb7df803b7556ddbf62ae6a1d0 (patch)
tree844e723fd42a02020fe43a60b06bc97e1ca94c0c /lib
parent4a97ad9efeeb350159e1d0c82686d234ee0cdb12 (diff)
parent48565a2cdc9df329dee1ad327a1c632dd8f1d4c3 (diff)
Merge branch '0.8.x' of gitorious.org:statusnet/mainline into 0.8.x
Diffstat (limited to 'lib')
-rw-r--r--lib/stompqueuemanager.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/stompqueuemanager.php b/lib/stompqueuemanager.php
index 5d8b2996b..f059b42f0 100644
--- a/lib/stompqueuemanager.php
+++ b/lib/stompqueuemanager.php
@@ -141,11 +141,10 @@ class StompQueueManager
$this->con->ack($frame);
} else {
if ($handler->handle_notice($notice)) {
- $this->_log(LOG_INFO, 'Successfully handled notice '. $notice->id .' originally posted at ' . $notice->created . ' in queue '. $queue);
-
+ $this->_log(LOG_INFO, 'Successfully handled notice '. $notice->id .' posted at ' . $frame->headers['created'] . ' in queue '. $queue);
$this->con->ack($frame);
} else {
- $this->_log(LOG_WARNING, 'Failed handling notice '. $notice->id .' originally posted at ' . $notice->created . ' in queue '. $queue);
+ $this->_log(LOG_WARNING, 'Failed handling notice '. $notice->id .' posted at ' . $frame->headers['created'] . ' in queue '. $queue);
// FIXME we probably shouldn't have to do
// this kind of queue management ourselves
$this->con->ack($frame);