diff options
author | Evan Prodromou <evan@status.net> | 2010-02-16 12:46:02 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-02-16 12:46:02 -0500 |
commit | 3d170bfa30168280a9c11e944f886460d7cc18c7 (patch) | |
tree | 0d99d6164fce4b35ceeff86acdda21722f4681e3 /lib/dbqueuemanager.php | |
parent | 71ecd689019a8086570c677af47ead4e02227fb3 (diff) | |
parent | 81b6b58e33f55054b7e5dd546f06dbdb5696ed92 (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'lib/dbqueuemanager.php')
-rw-r--r-- | lib/dbqueuemanager.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/dbqueuemanager.php b/lib/dbqueuemanager.php index c6350fc66..3032e4ec7 100644 --- a/lib/dbqueuemanager.php +++ b/lib/dbqueuemanager.php @@ -72,7 +72,7 @@ class DBQueueManager extends QueueManager public function poll() { $this->_log(LOG_DEBUG, 'Checking for notices...'); - $qi = Queue_item::top($this->getQueues()); + $qi = Queue_item::top($this->activeQueues()); if (empty($qi)) { $this->_log(LOG_DEBUG, 'No notices waiting; idling.'); return false; @@ -142,9 +142,4 @@ class DBQueueManager extends QueueManager $this->stats('error', $queue); } - - protected function _log($level, $msg) - { - common_log($level, 'DBQueueManager: '.$msg); - } } |