aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-24 23:02:41 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-24 23:02:41 -0700
commit8aec437c2314758dfaedef190ecaf74245cfc9e7 (patch)
tree9a7a6dd7a0a491573c08c5deef6ac4fdf0362bd7 /include/notifier.php
parent98f656cfcbaf81c001802dacd593ff9548345014 (diff)
downloadvolse-hubzilla-8aec437c2314758dfaedef190ecaf74245cfc9e7.tar.gz
volse-hubzilla-8aec437c2314758dfaedef190ecaf74245cfc9e7.tar.bz2
volse-hubzilla-8aec437c2314758dfaedef190ecaf74245cfc9e7.zip
remove redundant code
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/notifier.php b/include/notifier.php
index 4ce0c7c9f..3b29229cf 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -675,14 +675,8 @@ function notifier_run($argv, $argc){
);
}
}
- $deliveries[] = $hash;
- if(count($deliver) >= $deliveries_per_process) {
- proc_run('php','include/deliver.php',$deliver);
- $deliver = array();
- if($interval)
- @time_sleep_until(microtime(true) + (float) $interval);
- }
+ $deliveries[] = $hash;
}
if($normal_mode) {