From 2929adcc0395adf177c8d124412339189b3b43b5 Mon Sep 17 00:00:00 2001 From: flashwave Date: Sat, 31 Jul 2021 04:44:01 +0000 Subject: [PATCH] Removed tracking code. --- misuzu.php | 8 -------- templates/master.twig | 16 ---------------- 2 files changed, 24 deletions(-) diff --git a/misuzu.php b/misuzu.php index ab574389..da868c7c 100644 --- a/misuzu.php +++ b/misuzu.php @@ -248,14 +248,6 @@ if(parse_url($_SERVER['PHP_SELF'], PHP_URL_PATH) !== '/index.php') if(!empty($userInfo)) Template::set('current_user', $userInfo); -if(Config::has('matomo.endpoint') && Config::has('matomo.javascript') && Config::has('matomo.site')) { - Template::set([ - 'matomo_endpoint' => Config::get('matomo.endpoint', Config::TYPE_STR), - 'matomo_js' => Config::get('matomo.javascript', Config::TYPE_STR), - 'matomo_site' => Config::get('matomo.site', Config::TYPE_STR), - ]); -} - $inManageMode = starts_with($_SERVER['REQUEST_URI'], '/manage'); $hasManageAccess = User::hasCurrent() && !User::getCurrent()->hasActiveWarning() diff --git a/templates/master.twig b/templates/master.twig index 5d02e1e8..057781d2 100644 --- a/templates/master.twig +++ b/templates/master.twig @@ -58,22 +58,6 @@ -{% if matomo_endpoint is defined and matomo_js is defined and matomo_site is defined %} - -{% endif %}