aboutsummaryrefslogtreecommitdiffstats
path: root/include/cli_suggest.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/cli_suggest.php')
-rw-r--r--include/cli_suggest.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/cli_suggest.php b/include/cli_suggest.php
index 321ffd2e0..94b65f8ee 100644
--- a/include/cli_suggest.php
+++ b/include/cli_suggest.php
@@ -5,18 +5,15 @@ require_once('include/cli_startup.php');
require_once('include/socgraph.php');
-function cli_suggest_run($argv, $argc){
+function cli_suggest_run($argc,$argv){
cli_startup();
-
- $a = get_app();
-
update_suggestions();
}
if (array_search(__file__,get_included_files())===0){
- cli_suggest_run($argv,$argc);
+ cli_suggest_run($argc,$argv);
killme();
}