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:
authorThomas Steur <thomas.steur@googlemail.com>2014-07-07 13:11:11 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-07-07 13:11:11 +0400
commit3dfcd9ad5d59796a19db0e8fa1741d6860e45aa2 (patch)
treee0fa1e2212aeef6ea2d4e0323e6860a278b03db2 /core/DbHelper.php
parent41286992d61689ca0eee81d2aec3ff4060053e96 (diff)
whenever ipAnonymization is activated, log DB infos... also log whether db is dropped at some point
Diffstat (limited to 'core/DbHelper.php')
-rw-r--r--core/DbHelper.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/DbHelper.php b/core/DbHelper.php
index 8dbf7d0a9e..2b2d47a46a 100644
--- a/core/DbHelper.php
+++ b/core/DbHelper.php
@@ -106,6 +106,10 @@ class DbHelper
*/
public static function dropDatabase($dbName = null)
{
+
+ $message = 'Drop DB ';
+ \Piwik\Log::getInstance()->customLogToFileForDebuggingIfYouStillSeeThisHereRemoveIt($message, false);
+
if (defined('PIWIK_TEST_MODE') && PIWIK_TEST_MODE) {
Schema::getInstance()->dropDatabase($dbName);
}