From c0d9ffd2928e3581beb7d700aa4c10a5bbf271df Mon Sep 17 00:00:00 2001 From: janw Date: Fri, 30 May 2008 14:10:24 +0000 Subject: [PATCH] Should work now. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11128 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/server/events/gosaTriggered.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/gosa-si/server/events/gosaTriggered.pm b/gosa-si/server/events/gosaTriggered.pm index fba518cda..14916f642 100644 --- a/gosa-si/server/events/gosaTriggered.pm +++ b/gosa-si/server/events/gosaTriggered.pm @@ -892,14 +892,12 @@ sub trigger_activate_new { # Set FAIstate if(defined($ldap_entry->get_value('FAIstate'))) { if(!($ldap_entry->get_value('FAIstate') eq 'install')) { - $ldap_entry->changetype('modify'); $ldap_entry->replace( 'FAIstate' => 'install' ); my $replace_result = $ldap_entry->update($ldap_handle); } } else { - $ldap_entry->changetype('add'); $ldap_entry->add( 'FAIstate' => 'install' ); -- 2.30.2