From cd51546e4689f995464c4a103fc99d67c516b303 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 10 Jul 2007 13:16:14 +0000 Subject: [PATCH] Added remove post hook. Removed duplicated modify hook. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6812 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/password/class_password.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/personal/password/class_password.inc b/plugins/personal/password/class_password.inc index 10e1cc54b..27f2b9aa0 100644 --- a/plugins/personal/password/class_password.inc +++ b/plugins/personal/password/class_password.inc @@ -105,6 +105,7 @@ class password extends plugin gosa_log ("User/password has been changed"); $ui->password= $_POST['new_password']; $_SESSION['ui']= $ui; +#$this->handle_post_events("modify",array("pwd" => $_POST['new_password'])); return($smarty->fetch(get_template_path("changed.tpl", TRUE))); } } @@ -112,6 +113,15 @@ class password extends plugin } return($smarty->fetch(get_template_path("password.tpl", TRUE))); } + + function remove_from_parent() + { + $this->handle_post_events("remove"); + } + + function save() + { + } } -- 2.30.2