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-06-23 09:18:12 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-06-23 09:18:12 +0400
commit716e1c1cc36845ddcc1c263e58992d7ff29b51b1 (patch)
tree61bc5e3a992509d248709aaaf4f85360f21b6686 /plugins/Events/Actions
parent03dd1ed5e56691511b4eb60093a166bcdd47a4be (diff)
this should improve tracking performance
Diffstat (limited to 'plugins/Events/Actions')
-rw-r--r--plugins/Events/Actions/ActionEvent.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Events/Actions/ActionEvent.php b/plugins/Events/Actions/ActionEvent.php
index 51bbd476cd..3791de794d 100644
--- a/plugins/Events/Actions/ActionEvent.php
+++ b/plugins/Events/Actions/ActionEvent.php
@@ -30,10 +30,10 @@ class ActionEvent extends Action
$this->eventValue = trim($request->getParam('e_v'));
}
- public function shouldHandle()
+ public static function shouldHandle(Request $request)
{
- $eventCategory = $this->request->getParam('e_c');
- $eventAction = $this->request->getParam('e_a');
+ $eventCategory = $request->getParam('e_c');
+ $eventAction = $request->getParam('e_a');
return (strlen($eventCategory) > 0 && strlen($eventAction) > 0);
}