From: janw Date: Fri, 30 May 2008 14:10:24 +0000 (+0000) Subject: Should work now. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c0d9ffd2928e3581beb7d700aa4c10a5bbf271df;p=gosa.git Should work now. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11128 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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' );