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
+8
View File
@@ -22,4 +22,12 @@ class Group_Model extends ORM {
var $rules = array(
"name" => "required|length[4,255]");
/**
* @see ORM::delete()
*/
public function delete($id=null) {
module::event("group_before_delete", $this);
parent::delete($id);
}
}