UsersManager and SitesManager - add and update hooks #2580

robocoder opened this Issue Jul 21, 2011 · 3 comments

2 participants


There are currently hooks when a user or site is deleted, but not when either are added or updated.

use cases:

  • addUser/updateUser - 3rd-party plugins that want to sync with their own user database and provide their own authentication mechanism
  • addSite/updateSite - see BotTracker in #2391

(In [5645]) fixes #2580



  • SitesManager.addSite, SitesManager.updateSite, SitesManager.deleteSite
  • UsersManager.addUser, UsersManager.updateUser, UsersManager.deleteUser
Piwik Open Source Analytics member

Nice one :)

@robocoder robocoder added this to the 1.7 Piwik 1.7 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