UpdateDatabase.php
authorEdward <edward@roojs.com>
Wed, 11 Jul 2018 10:42:35 +0000 (18:42 +0800)
committerEdward <edward@roojs.com>
Wed, 11 Jul 2018 10:42:35 +0000 (18:42 +0800)
UpdateDatabase.php

index 4740798..3207977 100644 (file)
@@ -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();