aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2012-10-23 20:51:41 +1100
committerMike Macgirvin <mike@macgirvin.com>2012-10-23 20:51:41 +1100
commit364266e7a0f11f8e39712ad0a8c1fc4d89c75b06 (patch)
treec686c7d80189b501589f1d2f6ca05d2a97eb34ce /include
parent76f7a4baf36d7e054c6f069c8828c5429ad199a8 (diff)
downloadvolse-hubzilla-364266e7a0f11f8e39712ad0a8c1fc4d89c75b06.tar.gz
volse-hubzilla-364266e7a0f11f8e39712ad0a8c1fc4d89c75b06.tar.bz2
volse-hubzilla-364266e7a0f11f8e39712ad0a8c1fc4d89c75b06.zip
cleanup
Diffstat (limited to 'include')
-rw-r--r--include/directory.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/directory.php b/include/directory.php
index 732c0189b..f35cb4cb4 100644
--- a/include/directory.php
+++ b/include/directory.php
@@ -6,7 +6,7 @@ function directory_run($argv, $argc){
cli_startup();
- if($argc != 2)
+ if(argc() != 2)
return;
$dir = get_config('system','directory_submit_url');
@@ -14,7 +14,7 @@ function directory_run($argv, $argc){
if(! strlen($dir))
return;
- $arr = array('url' => $argv[1]);
+ $arr = array('url' => argv(1));
call_hooks('globaldir_update', $arr);