]> git.mxchange.org Git - friendica.git/blobdiff - include/queue.php
Add basepath to App
[friendica.git] / include / queue.php
index 67119aea44be01c912be9d86bf0bdf657afc32fa..b21bf676bae999e7f80e9a120f4f8de206853555 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-use \Friendica\Core\Config;
+use Friendica\Core\Config;
 
 require_once('include/queue_fn.php');
 require_once('include/dfrn.php');
@@ -29,14 +29,6 @@ function queue_run(&$argv, &$argc){
                // Handling the pubsubhubbub requests
                proc_run(PRIORITY_HIGH,'include/pubsubpublish.php');
 
-               $r = q("select * from deliverq where 1");
-               if ($r) {
-                       foreach ($r as $rr) {
-                               logger('queue: deliverq');
-                               proc_run(PRIORITY_HIGH,'include/delivery.php', $rr['cmd'], $rr['item'], $rr['contact']);
-                       }
-               }
-
                $r = q("SELECT `queue`.*, `contact`.`name`, `contact`.`uid` FROM `queue`
                        INNER JOIN `contact` ON `queue`.`cid` = `contact`.`id`
                        WHERE `queue`.`created` < UTC_TIMESTAMP() - INTERVAL 3 DAY");