From be7d49c0f50c14154d7f93c81169d69c8faa310b Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Wed, 29 Oct 2014 12:39:59 +0000 Subject: [PATCH] Use Events class constant instead of raw event name in track.php --- src/mibew/libs/track.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mibew/libs/track.php b/src/mibew/libs/track.php index af779426..04a38cc7 100644 --- a/src/mibew/libs/track.php +++ b/src/mibew/libs/track.php @@ -84,7 +84,7 @@ function track_visitor_start($entry, $referer) } $args = array('visitor' => track_get_visitor_by_id($id)); - EventDispatcher::getInstance()->triggerEvent('visitorCreate', $args); + EventDispatcher::getInstance()->triggerEvent(Events::VISITOR_CREATE, $args); return $id ? $id : 0; }