diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2015-05-16 12:49:55 +0200 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2015-05-16 12:49:55 +0200 |
commit | 8381d1c12c09df8fe72bac997487210bf08b8e5f (patch) | |
tree | 62d7cb37d4b17f072a35dde1836a6df0f7242544 /inc/cliopts.php | |
parent | e7195f3c8d808e1a725b58626e7c3c7397f2417a (diff) | |
download | rpg-8381d1c12c09df8fe72bac997487210bf08b8e5f.tar.gz rpg-8381d1c12c09df8fe72bac997487210bf08b8e5f.tar.bz2 |
update to __construct
Diffstat (limited to 'inc/cliopts.php')
-rw-r--r-- | inc/cliopts.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/cliopts.php b/inc/cliopts.php index 7d71c7dc9..d7d06119a 100644 --- a/inc/cliopts.php +++ b/inc/cliopts.php @@ -447,7 +447,7 @@ class Doku_Cli_Opts_Error { var $code; var $msg; - function Doku_Cli_Opts_Error($code, $msg) { + function __construct($code, $msg) { $this->code = $code; $this->msg = $msg; } @@ -468,7 +468,7 @@ class Doku_Cli_Opts_Container { var $options = array(); var $args = array(); - function Doku_Cli_Opts_Container($options) { + function __construct($options) { foreach ( $options[0] as $option ) { if ( false !== ( strpos($option[0], '--') ) ) { $opt_name = substr($option[0], 2); |