aboutsummaryrefslogtreecommitdiffstats
path: root/include/queue.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-28 23:01:42 -0700
committerFriendika <info@friendika.com>2011-08-28 23:01:42 -0700
commit88e6e4699a89a0f17799af44e4a085fe28efeb81 (patch)
treeeefe425583d1d53ac0b0b60aef20e73db5a867ee /include/queue.php
parent51615f57acbdf5ff282037ba3c8e6a454127ea2c (diff)
parentb61d535f81af4c2ec2bcabd4378f1a8bfa3cd446 (diff)
downloadvolse-hubzilla-88e6e4699a89a0f17799af44e4a085fe28efeb81.tar.gz
volse-hubzilla-88e6e4699a89a0f17799af44e4a085fe28efeb81.tar.bz2
volse-hubzilla-88e6e4699a89a0f17799af44e4a085fe28efeb81.zip
Merge branch 'pull'
Diffstat (limited to 'include/queue.php')
-rw-r--r--include/queue.php21
1 files changed, 10 insertions, 11 deletions
diff --git a/include/queue.php b/include/queue.php
index 0cb6fcec2..1ac1e7d48 100644
--- a/include/queue.php
+++ b/include/queue.php
@@ -3,18 +3,18 @@ require_once("boot.php");
require_once('include/queue_fn.php');
function queue_run($argv, $argc){
- global $a, $db;
+ global $a, $db;
- if(is_null($a)){
- $a = new App;
- }
+ if(is_null($a)){
+ $a = new App;
+ }
- if(is_null($db)){
- @include(".htconfig.php");
- require_once("dba.php");
- $db = new dba($db_host, $db_user, $db_pass, $db_data);
- unset($db_host, $db_user, $db_pass, $db_data);
- };
+ if(is_null($db)){
+ @include(".htconfig.php");
+ require_once("dba.php");
+ $db = new dba($db_host, $db_user, $db_pass, $db_data);
+ unset($db_host, $db_user, $db_pass, $db_data);
+ };
require_once("session.php");
@@ -42,7 +42,6 @@ function queue_run($argv, $argc){
if(! $interval)
$interval = 2;
-
$r = q("select * from deliverq where 1");
if(count($r)) {
foreach($r as $rr) {