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-02 02:43:26 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-07-02 02:43:26 +0400
commit8f77c16a52fc1832bccb140784b492100bca2b75 (patch)
treeb2e3c749604ba24cc7868f5dd32f3fd94d26cb88 /core/Columns
parentaca7be43178cd78e858fdc1d4e351c461ac07587 (diff)
wondering how this effects the tracking performance? added possibility to persist static cache for tracker
Diffstat (limited to 'core/Columns')
-rw-r--r--core/Columns/Dimension.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Columns/Dimension.php b/core/Columns/Dimension.php
index 9f897b968e..0fbb8cdf2a 100644
--- a/core/Columns/Dimension.php
+++ b/core/Columns/Dimension.php
@@ -29,8 +29,8 @@ abstract class Dimension
public function hasImplementedEvent($method)
{
- $reflectionObject = new \ReflectionObject($this);
- $declaringClass = $reflectionObject->getMethod($method)->getDeclaringClass();
+ $method = new \ReflectionMethod($this, $method);
+ $declaringClass = $method->getDeclaringClass();
return 0 === strpos($declaringClass->name, 'Piwik\Plugins');
}