piwik/piwik — pull request #5833 by burakcakirel (2014-07-15 08:58:22+00:00)
Title: Adding the new variables to "UsersManager.addUser.end" and "UsersManager.updateUser.end" triggers

You've indicated "UsersManager.addUser" and "UsersManager.updateUser" triggers in your API Reference page(http://developer.piwik.org/api-reference/reporting-api#UsersManager)

But there are no triggers called "UsersManager.addUser" and "UsersManager.updateUser" in PIWIK. It contains only "UsersManager.addUser.end" and "UsersManager.updateUser.end" and these triggers are passed one variable that is $userLogin. But If we add/update any user and there are triggers about these processes, we also need an email, a password etc in order to do something these data, right ?

So, I've added these variables to "UsersManager.addUser.end" and "UsersManager.updateUser.end" triggers. Because I thought everyone need these variables when doing something during add/update the users.