]> git.mxchange.org Git - friendica.git/blobdiff - include/queue_fn.php
Opps, this has vanished by accident, thanks to @annando
[friendica.git] / include / queue_fn.php
index df9ab6b4cbc950f048040486f68f926a27017d5f..3030acc28db92699b55f7fc566c6b81f1283da77 100644 (file)
@@ -28,7 +28,7 @@ function was_recently_delayed($cid) {
                and last > UTC_TIMESTAMP() - interval 15 minute limit 1",
                intval($cid)
        );
-       if(dbm::is_result($r))
+       if (dbm::is_result($r))
                return true;
 
        // Are there queue entries that were recently added?
@@ -55,7 +55,7 @@ function add_to_queue($cid,$network,$msg,$batch = false) {
                WHERE `queue`.`cid` = %d AND `contact`.`self` = 0 ",
                intval($cid)
        );
-       if(dbm::is_result($r)) {
+       if (dbm::is_result($r)) {
                if($batch &&  ($r[0]['total'] > $batch_queue)) {
                        logger('add_to_queue: too many queued items for batch server ' . $cid . ' - discarding message');
                        return;