Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

UsersManager and SitesManager - add and update hooks #2580

Closed
robocoder opened this Issue · 3 comments

2 participants

Anthon Pang Matthieu Aubry
Anthon Pang
Collaborator

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
Anthon Pang
Collaborator

(In [5645]) fixes #2580

Anthon Pang
Collaborator

Updated http://piwik.org/docs/plugins/hooks/

  • SitesManager.addSite, SitesManager.updateSite, SitesManager.deleteSite
  • UsersManager.addUser, UsersManager.updateUser, UsersManager.deleteUser
Matthieu Aubry
Owner

Nice one :)

Anthon Pang robocoder added this to the 1.7 Piwik 1.7 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.