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:
authorChristian Raue <christian.raue@gmail.com>2014-07-10 17:42:26 +0400
committerChristian Raue <christian.raue@gmail.com>2014-07-15 14:13:03 +0400
commitf6de9efc06b11e067fe4f866377a94996628f796 (patch)
tree8fbeef2c680c9a5272a877ddd4ebfcdb1e075b1b /core/FrontController.php
parentb51cad9130f4cd264015303e88bdab18195ee01c (diff)
removed unused variables
Diffstat (limited to 'core/FrontController.php')
-rw-r--r--core/FrontController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/FrontController.php b/core/FrontController.php
index a06a08db9f..88485e8103 100644
--- a/core/FrontController.php
+++ b/core/FrontController.php
@@ -390,7 +390,7 @@ class FrontController extends Singleton
// ensure the current Piwik URL is known for later use
if (method_exists('Piwik\SettingsPiwik', 'getPiwikUrl')) {
- $host = SettingsPiwik::getPiwikUrl();
+ SettingsPiwik::getPiwikUrl();
}
/**
@@ -419,7 +419,7 @@ class FrontController extends Singleton
// Force the auth to use the token_auth if specified, so that embed dashboard
// and all other non widgetized controller methods works fine
- if (($token_auth = Common::getRequestVar('token_auth', false, 'string')) !== false) {
+ if (Common::getRequestVar('token_auth', false, 'string') !== false) {
Request::reloadAuthUsingTokenAuth();
}
SettingsServer::raiseMemoryLimitIfNecessary();