Skip to content

Commit

Permalink
Remove static call to getRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy-1 committed Mar 11, 2020
1 parent c50db55 commit 0c5a85b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClassicThemePlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public function getDescription() {
public function loadAdditionalData($hookName, $args) {
$smarty = $args[0];

$request = Application::getRequest();
$request = $this->getRequest();
$context = $request->getContext();

if (!defined('SESSION_DISABLE_INIT')) {
Expand Down

0 comments on commit 0c5a85b

Please sign in to comment.