Rev 511 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 511 | Rev 569 | ||
---|---|---|---|
Line 39... | Line 39... | ||
39 | 39 | ||
40 | return !$oobe_done; |
40 | return !$oobe_done; |
41 | } |
41 | } |
42 | 42 | ||
43 | public function init($html=true) { |
43 | public function init($html=true) { |
44 | OIDplus::config()->deleteConfigKey('reg_wizard_done'); |
44 | OIDplus::config()->delete('reg_wizard_done'); |
45 | OIDplus::config()->prepareConfigKey('oobe_main_done', '"Out Of Box Experience" wizard for the system settings done once?', '0', OIDplusConfig::PROTECTION_HIDDEN, function($value) {}); |
45 | OIDplus::config()->prepareConfigKey('oobe_main_done', '"Out Of Box Experience" wizard for the system settings done once?', '0', OIDplusConfig::PROTECTION_HIDDEN, function($value) {}); |
46 | 46 | ||
47 | if ($this->oobeRequired()) { |
47 | if ($this->oobeRequired()) { |
48 | // Show registration/configuration wizard once |
48 | // Show registration/configuration wizard once |
49 | if ($html) { |
49 | if ($html) { |