From 5ceb96bae2637dbd0a149a7c4364bf6f8dc73f79 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 3 Mar 2010 08:37:55 +0000 Subject: [PATCH] unified post event handling! git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15871 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiManagement.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc index 7806244c2..da22ad7cd 100644 --- a/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -618,7 +618,7 @@ class faiManagement extends management $this->fai_release = $this->fai_base; $this->lock_name = $name; $this->lock_dn = $bb; - $this->postremove(); + $this->handle_post_events('remove'); $fai_filter = session::get("fai_filter"); $fai_filter['fai_release'] = $this->fai_release; @@ -799,13 +799,11 @@ class faiManagement extends management $this->dispNewFreeze = false; - /* Postcreate */ - /* Assign possible attributes */ $this->lock_type = $type; $this->lock_name = $name; $this->lock_dn = $baseToUse; - $this->postcreate(); + $this->handle_post_events('add'); /* Send daemon event to reload the fai release database */ -- 2.30.2