aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-18 13:41:34 +0000
committerMario <mario@mariovavti.com>2021-01-18 13:41:34 +0000
commit45350179b4ad48b8fc81e23722974d95f39a1fe2 (patch)
tree5acdcbcffc85ceac84c02f99301dafb307b96fe9 /Zotlabs
parentd0f3d2b2a5736b8d24c4bfc9fa82f5e32bdc2fb2 (diff)
downloadvolse-hubzilla-45350179b4ad48b8fc81e23722974d95f39a1fe2.tar.gz
volse-hubzilla-45350179b4ad48b8fc81e23722974d95f39a1fe2.tar.bz2
volse-hubzilla-45350179b4ad48b8fc81e23722974d95f39a1fe2.zip
cleanup daemon/deliver
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Daemon/Deliver.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/Zotlabs/Daemon/Deliver.php b/Zotlabs/Daemon/Deliver.php
index c853af6a8..f8149ee69 100644
--- a/Zotlabs/Daemon/Deliver.php
+++ b/Zotlabs/Daemon/Deliver.php
@@ -5,25 +5,25 @@ namespace Zotlabs\Daemon;
require_once('include/queue_fn.php');
class Deliver {
-
- static public function run($argc,$argv) {
- if($argc < 2)
+ static public function run($argc, $argv) {
+
+ if ($argc < 2)
return;
- logger('deliver: invoked: ' . print_r($argv,true), LOGGER_DATA);
+ logger('deliver: invoked: ' . print_r($argv, true), LOGGER_DATA);
- for($x = 1; $x < $argc; $x ++) {
+ for ($x = 1; $x < $argc; $x++) {
- if(! $argv[$x])
+ if (!$argv[$x])
continue;
$r = q("select * from outq where outq_hash = '%s'",
dbesc($argv[$x])
);
- if($r) {
- queue_deliver($r[0],true);
+ if ($r) {
+ queue_deliver($r[0], true);
}
}