projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
094e1e9
)
UpdateDatabase.php
author
Edward
<edward@roojs.com>
Wed, 11 Jul 2018 10:42:35 +0000
(18:42 +0800)
committer
Edward
<edward@roojs.com>
Wed, 11 Jul 2018 10:42:35 +0000
(18:42 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
4740798
..
3207977
100644
(file)
--- 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();