Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Delete dashboard settings when deleting user #1304

Closed
pebosi opened this Issue · 4 comments

3 participants

@pebosi

see attached patch

@pebosi

Attachment:
userdelete.patch

@robocoder

My gut feeling is that this is the wrong place to do it since the user_dashboard table belongs to the Dashboard plugin.

Theoretically, the user_dashboard table may not exist if the Dashboard plugin is uninstalled. (#546)

I think the Piwik convention would be to add a hook, i.e., PostEvent('UsersManager.deleteUser'); and add a listener to Dashboard.php.

@robocoder

(In [2110]) fixes #1304 - delete dashboard layout when deleting user

@mattab
Owner

(In [2129]) Fixes #1304 Piwik_Query accepts bind parameters but Piwik_Exec doesn't, was causing deleting a user to issue an error

@pebosi pebosi added this to the Piwik 0.6 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.