]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
return singleton if initialized
authorEvan Prodromou <evan@controlyourself.ca>
Sat, 4 Jul 2009 05:42:42 +0000 (01:42 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Sat, 4 Jul 2009 05:42:42 +0000 (01:42 -0400)
lib/queuemanager.php

index f36e99d16ae807aaf5b052c24269e5c5f134a7ce..582c247901a5902ce91c30a713e2c9a9750a4fba 100644 (file)
@@ -57,9 +57,9 @@ class QueueManager
                     }
                 }
             }
-
-            return self::$qm;
         }
+
+        return self::$qm;
     }
 
     function enqueue($object, $queue)