summaryrefslogtreecommitdiff
path: root/lib/dbqueuemanager.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-23 14:50:47 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-07-23 14:50:47 -0700
commitf2270067892750e538469ee9d44900ca254938a1 (patch)
treebfcec4d36606f8515c7885c308b35cf0a6c6c189 /lib/dbqueuemanager.php
parent0dab5f58723cba8b5915c694a8200e242cc9ec02 (diff)
whitespace in dbqueuemanager
Diffstat (limited to 'lib/dbqueuemanager.php')
-rw-r--r--lib/dbqueuemanager.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/dbqueuemanager.php b/lib/dbqueuemanager.php
index 1df5af6c1..013636191 100644
--- a/lib/dbqueuemanager.php
+++ b/lib/dbqueuemanager.php
@@ -89,7 +89,7 @@ class DBQueueManager extends QueueManager
do {
$qi = Queue_item::top($queue);
if (empty($qi)) {
- sleep(1);
+ sleep(1);
} else {
$notice = Notice::staticGet('id', $qi->notice_id);
if (!empty($notice)) {
@@ -120,7 +120,7 @@ class DBQueueManager extends QueueManager
} else {
if (empty($qi->claimed)) {
$this->_log(LOG_WARNING, 'Reluctantly releasing unclaimed queue item '.
- 'for '.$notice->id.', queue '.$queue);
+ 'for '.$notice->id.', queue '.$queue);
}
$qi->delete();
$qi->free();
@@ -147,7 +147,7 @@ class DBQueueManager extends QueueManager
} else {
if (empty($qi->claimed)) {
$this->_log(LOG_WARNING, 'Ignoring failure for unclaimed queue item '.
- 'for '.$notice->id.', queue '.$queue);
+ 'for '.$notice->id.', queue '.$queue);
} else {
$orig = clone($qi);
$qi->claimed = null;