mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 13:24:41 +03:00
Use Events class constant instead of raw event name in track.php
This commit is contained in:
parent
336d8c1faa
commit
be7d49c0f5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user