From 880eea1423ed3305dd026e8a9fa9f1e4fa945bf3 Mon Sep 17 00:00:00 2001 From: rettenbe Date: Tue, 12 Feb 2008 14:02:28 +0000 Subject: [PATCH] delete doubled occuring function set_activated_for_registering git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8866 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/client/events/corefunctions.pm | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/gosa-si/client/events/corefunctions.pm b/gosa-si/client/events/corefunctions.pm index e0d5ed5cc..d0126a28e 100644 --- a/gosa-si/client/events/corefunctions.pm +++ b/gosa-si/client/events/corefunctions.pm @@ -1,7 +1,7 @@ package corefunctions; use Exporter; @ISA = qw(Exporter); -my @events = qw(get_events registered set_activated_for_installation new_ldap_config new_key generate_hw_digest detect_hardware reboot halt reinstall softupdate confirm_new_key); +my @events = qw(get_events registered new_ldap_config new_key generate_hw_digest detect_hardware reboot halt reinstall softupdate confirm_new_key); @EXPORT = @events; use strict; @@ -127,21 +127,6 @@ sub registered { } -sub set_activated_for_installation { - my ($msg, $msg_hash) = @_ ; - my $header = @{$msg_hash->{'header'}}[0]; - my $target = @{$msg_hash->{'target'}}[0]; - my $source = @{$msg_hash->{'source'}}[0]; - - my $Datei = "/var/run/gosa-si.activated"; - open(DATEI, ">$Datei"); - print DATEI "activated\n"; - close DATEI; - - return; -} - - sub server_leaving { my ($msg_hash) = @_ ; my $source = @{$msg_hash->{'source'}}[0]; -- 2.30.2