Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <diosmosis@users.noreply.github.com>2019-08-16 07:12:37 +0300
committerGitHub <noreply@github.com>2019-08-16 07:12:37 +0300
commitd919ba311f0c6a9a57740c6b369648116f71fba7 (patch)
tree8af22643cda5d6c1ab3b1ffcd40ebc8eaf9e473e /core/Plugin/ControllerAdmin.php
parent48c9f2c676b4178d8526197af0059bdd7a0f6a72 (diff)
Admin controllers do not call setGeneralVariablesView, so we have to … (#14779)
* Admin controllers do not call setGeneralVariablesView, so we have to set the property another way. * fix typo
Diffstat (limited to 'core/Plugin/ControllerAdmin.php')
-rw-r--r--core/Plugin/ControllerAdmin.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/Plugin/ControllerAdmin.php b/core/Plugin/ControllerAdmin.php
index 90189d5556..82b5e2e4cf 100644
--- a/core/Plugin/ControllerAdmin.php
+++ b/core/Plugin/ControllerAdmin.php
@@ -128,7 +128,6 @@ abstract class ControllerAdmin extends Controller
protected function setBasicVariablesViewAs($view, $viewType = 'admin')
{
$this->setBasicVariablesNoneAdminView($view);
-
if ($viewType == 'admin') {
self::setBasicVariablesAdminView($view);
}