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:
authormattpiwik <matthieu.aubry@gmail.com>2010-03-31 12:47:57 +0400
committermattpiwik <matthieu.aubry@gmail.com>2010-03-31 12:47:57 +0400
commitb3a8270c4a0e6d3c684d14e4a4d27080f2d0804b (patch)
tree55541de9be394c5d5c8d4dc992a5582705ff56ff /core/Option.php
parent3b99f0b0a4094addc88ae35b381d78a0bf1888e3 (diff)
Fixes #41 Adding URL Query parameters exclude setting, per website, and global. We also by default exclude sessionid, phpsessid, etc.
The query parameters are excluded case insensitive. git-svn-id: http://dev.piwik.org/svn/trunk@2023 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Option.php')
-rw-r--r--core/Option.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/Option.php b/core/Option.php
index da1905dc82..3c415d3672 100644
--- a/core/Option.php
+++ b/core/Option.php
@@ -97,6 +97,17 @@ class Piwik_Option
}
$loaded = true;
}
+
+ /**
+ * Clears the cache
+ * Used in unit tests to reset the state of the object between tests
+ *
+ * @return void
+ */
+ public function clearCache()
+ {
+ $this->all = array();
+ }
}
function Piwik_GetOption($name)