From bb2d5e6345b2c4d795ef88669135acfe9f6d3182 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 11 Jul 2018 18:42:35 +0800 Subject: [PATCH] UpdateDatabase.php --- UpdateDatabase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UpdateDatabase.php b/UpdateDatabase.php index 4740798f..32079775 100644 --- a/UpdateDatabase.php +++ b/UpdateDatabase.php @@ -17,7 +17,7 @@ class Pman_Core_UpdateDatabase extends Pman static $cli_desc = "Update SQL - Beta (it will run updateData of all modules)"; - var $cli_opts = array( + static $cli_opts = array( 'prefix' => array( 'desc' => 'prefix for the password (eg. fred > xxx4fred - prefix is xxx4)', @@ -94,7 +94,7 @@ class Pman_Core_UpdateDatabase extends Pman static function cli_opts() { - $ret = $this->cli_opts; + $ret = self::$cli_opts; $ff = HTML_FlexyFramework::get(); $a = new Pman(); $mods = $a->modulesList(); -- 2.39.2