Skip to content

Commit

Permalink
Update onBeforeRender trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
sonvnn committed Aug 20, 2024
1 parent c8abb8f commit b54efb4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/astroid/src/Extension/AstroidPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ public function onBeforeRender()
if (!file_exists(JPATH_LIBRARIES . '/astroid/framework/library/astroid')) {
return false;
}
if (Framework::isSite()) {
Framework::getClient()->onBeforeRender();
}
Framework::getClient()->onBeforeRender();
}

public function onAfterRender()
Expand Down

0 comments on commit b54efb4

Please sign in to comment.