Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1440 closed New feature (fixed)

Make Piwik_Tracker_Visit::handleKnownVisit hookable

Reported by: SteveG Owned by:
Priority: normal Milestone: Piwik 0.6.4
Component: Core Keywords:
Cc: Sensitive: no


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.

Attachments (1)

Visit.php.patch (3.9 KB) - added by SteveG 4 years ago.
patch for /core/Tracker/Visit.php

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by SteveG (sgiehl)

patch for /core/Tracker/Visit.php

comment:1 Changed 4 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 Changed 4 years ago by matt (mattab)

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)

Note: See TracTickets for help on using tickets.