Rev 1116 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1116 | Rev 1131 | ||
---|---|---|---|
Line 41... | Line 41... | ||
41 | */ |
41 | */ |
42 | public function oobeRequired(): bool { |
42 | public function oobeRequired(): bool { |
43 | $oobe_done = OIDplus::config()->getValue('oobe_main_done') == '1'; |
43 | $oobe_done = OIDplus::config()->getValue('oobe_main_done') == '1'; |
44 | 44 | ||
45 | foreach (OIDplus::getAllPlugins() as $plugin) { |
45 | foreach (OIDplus::getAllPlugins() as $plugin) { |
46 | if ($plugin->implementsFeature('1.3.6.1.4.1.37476.2.5.2.3.1')) { |
46 | if ($plugin instanceof INTF_OID_1_3_6_1_4_1_37476_2_5_2_3_1) { |
47 | if ($plugin->oobeRequested()) { /** @phpstan-ignore-line */ |
47 | if ($plugin->oobeRequested()) { |
48 | $oobe_done = false; |
48 | $oobe_done = false; |
49 | break; |
49 | break; |
50 | } |
50 | } |
51 | } |
51 | } |
52 | } |
52 | } |