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:
authorStefan Giehl <stefan@matomo.org>2020-05-17 23:39:32 +0300
committerGitHub <noreply@github.com>2020-05-17 23:39:32 +0300
commitb6ace0e06c2ef3f8f98ac55feb934ebe0d304107 (patch)
treef257e7b38af89a61c4e15e8aef2a854882676570 /plugins/PrivacyManager/PrivacyManager.php
parentd89c2b7fb4b295542204cd5d81c35f79b5c93489 (diff)
Use utf8mb4 character set if possible (#15618)
Diffstat (limited to 'plugins/PrivacyManager/PrivacyManager.php')
-rw-r--r--plugins/PrivacyManager/PrivacyManager.php16
1 files changed, 14 insertions, 2 deletions
diff --git a/plugins/PrivacyManager/PrivacyManager.php b/plugins/PrivacyManager/PrivacyManager.php
index b107f20189..96d659eb58 100644
--- a/plugins/PrivacyManager/PrivacyManager.php
+++ b/plugins/PrivacyManager/PrivacyManager.php
@@ -24,6 +24,7 @@ use Piwik\Piwik;
use Piwik\Plugin;
use Piwik\Plugins\Goals\Archiver;
use Piwik\Plugins\Installation\FormDefaultSettings;
+use Piwik\Plugins\PrivacyManager\Model\LogDataAnonymizations;
use Piwik\Site;
use Piwik\Tracker\Cache;
use Piwik\Tracker\GoalManager;
@@ -182,11 +183,22 @@ class PrivacyManager extends Plugin
'Tracker.setVisitorIp' => array($this->ipAnonymizer, 'setVisitorIpAddress'),
'Installation.defaultSettingsForm.init' => 'installationFormInit',
'Installation.defaultSettingsForm.submit' => 'installationFormSubmit',
- 'Translate.getClientSideTranslationKeys' => 'getClientSideTranslationKeys',
- 'Template.pageFooter' => 'renderPrivacyPolicyLinks',
+ 'Translate.getClientSideTranslationKeys' => 'getClientSideTranslationKeys',
+ 'Template.pageFooter' => 'renderPrivacyPolicyLinks',
+ 'Db.getTablesInstalled' => 'getTablesInstalled'
);
}
+ /**
+ * Register the new tables, so Matomo knows about them.
+ *
+ * @param array $allTablesInstalled
+ */
+ public function getTablesInstalled(&$allTablesInstalled)
+ {
+ $allTablesInstalled[] = Common::prefixTable(LogDataAnonymizations::getDbTableName());
+ }
+
public function isTrackerPlugin()
{
return true;