Skip to content

Commit

Permalink
Issue #71: Add during_initial_install check
Browse files Browse the repository at this point in the history
  • Loading branch information
djarran committed Nov 21, 2024
1 parent 409f8c2 commit e0caccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/hook_callbacks.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public static function before_footer_html_generation(\core\hook\output\before_fo
* @return void|null
*/
public static function after_config(\core\hook\after_config $hook) {
if (!get_config('tool_abconfig', 'version')) {
if (during_initial_install() || !get_config('tool_abconfig', 'version')) {
// Do nothing if plugin install not completed.
return;
}
Expand Down

0 comments on commit e0caccf

Please sign in to comment.