summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/stompqueuemanager.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/stompqueuemanager.php b/lib/stompqueuemanager.php
index d13af3fa5..46baeb5c7 100644
--- a/lib/stompqueuemanager.php
+++ b/lib/stompqueuemanager.php
@@ -122,12 +122,7 @@ class StompQueueManager
if (in_array($stompsock, $read)) {
$this->_handleNotice($queue, $handler);
}
- foreach ($handsocks as $sock) {
- if (in_array($sock, $read)) {
- $handler->idle(QUEUE_HANDLER_HIT_IDLE);
- break;
- }
- }
+ $handler->idle(QUEUE_HANDLER_HIT_IDLE);
}
}