Move code to delete users and add/remove users from groups into the

model.
This commit is contained in:
Bharat Mediratta
2008-12-09 08:47:30 +00:00
parent 930fb1f697
commit e62103b8d9
8 changed files with 33 additions and 77 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ class User_Model extends ORM {
* @see ORM::delete()
*/
public function delete($id=null) {
module::event("user_before_delete", $this);
parent::delete($id);
module::event("user_deleted", $user);
}
}