Make Piwik_Tracker_Visit::handleKnownVisit hookable #1440

Closed
sgiehl opened this Issue Jun 22, 2010 · 3 comments

2 participants

@sgiehl
Piwik Open Source Analytics member

As mentioned in #1436, it would be nice if the update function (Piwik_Tracker_Visit::handleKnownVisit) would be hookable. Here is a patch to do so.

@sgiehl
Piwik Open Source Analytics member

Attachment: patch for /core/Tracker/Visit.php
Visit.php.patch

@mattab
Piwik Open Source Analytics member

(In [2391]) Fixes #1440 Adding hook to update the visitor row in Tracker

@mattab
Piwik Open Source Analytics member

Thanks for the patch - I had to make 2 changes to the patch as it was throwing php NOTICE ($sqlQuery was not defined, and $sqlActionUpdate was not defined)

@sgiehl sgiehl added this to the Piwik 0.6.4 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment