Skip to content

Commit

Permalink
Fixed #8868: AuditLog plugin : Can't create/delete user
Browse files Browse the repository at this point in the history
  • Loading branch information
mennodekker committed Mar 18, 2014
1 parent 883c925 commit 299ffb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/AuditLog/AuditLog.php
Expand Up @@ -145,7 +145,7 @@ public function beforeUserSave()

public function beforeUserDelete()
{
$oUserData=$this->getEvent()->getSender();
$oUserData=$this->getEvent()->get('model');
$oCurrentUser=$this->api->getCurrentUser();
$oOldUser=$this->api->getUser($oUserData->uid);
if ($oOldUser)
Expand Down

0 comments on commit 299ffb9

Please sign in to comment.