From 321bc7cff6a0a7a381983e82ec42f51c5f27355b Mon Sep 17 00:00:00 2001 From: avl Date: Wed, 3 Sep 2008 17:51:09 +0300 Subject: [PATCH] remove deprecated references --- ipf/cli.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ipf/cli.php b/ipf/cli.php index 41e9e9f..a2c38fa 100644 --- a/ipf/cli.php +++ b/ipf/cli.php @@ -19,9 +19,9 @@ class IPF_Cli{ print " $command\n"; } - protected function help(&$args){ + protected function help($args){ if (count($args)==2) - $this->main_help(&$args); + $this->main_help($args); } protected function sql(&$args){ @@ -69,17 +69,17 @@ class IPF_Cli{ $args = $opt->readPHPArgv(); if (count($args)==1) { - $this->usage(&$args); + $this->usage($args); return; } if (in_array($args[1],$this->commands)) { - eval('$this->'.$args[1].'(&$args);'); + eval('$this->'.$args[1].'($args);'); return; } print "Unknown command: '".$args[1]."'\n"; - $this->usage(&$args); + $this->usage($args); } } \ No newline at end of file -- 2.49.0