diff options
author | Mario <mario@mariovavti.com> | 2024-06-13 09:37:21 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-06-13 09:37:21 +0000 |
commit | 6a63a38e8d4423fa317ce3e3bc6d537b098821c4 (patch) | |
tree | 53768900bf54f7faadd921917f67a3bd7c942a4e /Zotlabs/Module/Setup.php | |
parent | 088a87914f7bbe5bb45ea125ae3c1b1a8ef0ed80 (diff) | |
parent | ac1e20b1880d57aab2048e670449768d51dbc0b0 (diff) | |
download | volse-hubzilla-6a63a38e8d4423fa317ce3e3bc6d537b098821c4.tar.gz volse-hubzilla-6a63a38e8d4423fa317ce3e3bc6d537b098821c4.tar.bz2 volse-hubzilla-6a63a38e8d4423fa317ce3e3bc6d537b098821c4.zip |
Merge branch 'fix-test-warnings' into 'dev'
Fix test warnings
See merge request hubzilla/core!2134
Diffstat (limited to 'Zotlabs/Module/Setup.php')
-rw-r--r-- | Zotlabs/Module/Setup.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Zotlabs/Module/Setup.php b/Zotlabs/Module/Setup.php index 647415385..7ca3f827c 100644 --- a/Zotlabs/Module/Setup.php +++ b/Zotlabs/Module/Setup.php @@ -46,9 +46,9 @@ class Setup extends \Zotlabs\Web\Controller { } if(x($_POST, 'pass')) { - $this->install_wizard_pass = intval($_POST['pass']); + self::$install_wizard_pass = intval($_POST['pass']); } else { - $this->install_wizard_pass = 1; + self::$install_wizard_pass = 1; } } @@ -215,9 +215,11 @@ class Setup extends \Zotlabs\Web\Controller { $tpl = get_markup_template('install.tpl'); return replace_macros($tpl, array( '$title' => $install_title, + '$icon' => null, '$pass' => '', '$status' => t('Permission denied.'), '$text' => '', + '$what_next' => null, )); } } @@ -237,7 +239,7 @@ class Setup extends \Zotlabs\Web\Controller { )); } - switch ($this->install_wizard_pass){ + switch (self::$install_wizard_pass){ case 1: { // System check $checks = array(); |