aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-17 19:49:21 -0700
committerredmatrix <git@macgirvin.com>2016-05-17 19:49:21 -0700
commit43c2b22fca908cb5c7bb740855cbd9d04e085d62 (patch)
tree564b44ee9b2850f3299494bf0dfaf528d90a9501 /include/poller.php
parent9a64c6b9f79a032e192eac31be10017bf8f5fa18 (diff)
downloadvolse-hubzilla-43c2b22fca908cb5c7bb740855cbd9d04e085d62.tar.gz
volse-hubzilla-43c2b22fca908cb5c7bb740855cbd9d04e085d62.tar.bz2
volse-hubzilla-43c2b22fca908cb5c7bb740855cbd9d04e085d62.zip
cli utilities - argc and argv reversed. Not functionally incorrect since it was consistent but aesthetically incorrect.
Diffstat (limited to 'include/poller.php')
-rw-r--r--include/poller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/poller.php b/include/poller.php
index 808b54ee5..1a5b8508c 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -4,7 +4,7 @@ require_once('boot.php');
require_once('include/cli_startup.php');
-function poller_run($argv, $argc){
+function poller_run($argc,$argv){
cli_startup();
@@ -440,6 +440,6 @@ function poller_run($argv, $argc){
}
if (array_search(__file__,get_included_files())===0){
- poller_run($argv,$argc);
+ poller_run($argc,$argv);
killme();
}