Code

Added remove post hook.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 10 Jul 2007 13:16:14 +0000 (13:16 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 10 Jul 2007 13:16:14 +0000 (13:16 +0000)
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

index 10e1cc54bb4f0f368f399558c9c1d4ef9704b64b..27f2b9aa06bfb54ce49d2b73a31f3279972683a4 100644 (file)
@@ -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()
+  {
+  }
 }