diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-07-02 02:43:26 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-07-02 02:43:26 +0400 |
commit | 8f77c16a52fc1832bccb140784b492100bca2b75 (patch) | |
tree | b2e3c749604ba24cc7868f5dd32f3fd94d26cb88 /core/Columns | |
parent | aca7be43178cd78e858fdc1d4e351c461ac07587 (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.php | 4 |
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'); } |