From: janw Date: Wed, 6 Feb 2008 10:57:08 +0000 (+0000) Subject: Fixed missing scope. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c557d0f84e2f4fc9ba4751b70be293cc2d64e65e;p=gosa.git Fixed missing scope. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8755 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/client/events/corefunctions.pm b/gosa-si/client/events/corefunctions.pm index 415342b6d..1dfc09081 100644 --- a/gosa-si/client/events/corefunctions.pm +++ b/gosa-si/client/events/corefunctions.pm @@ -396,10 +396,10 @@ sub detect_hardware { &main::daemon_log("Hardware detection done!", 4); - return &send_msg_hash2address( - &create_xml_hash("detected_hardware", $main::client_address, $server_address, $result), - $server_address, - $server_key, + return &main::send_msg_hash2address( + &main::create_xml_hash("detected_hardware", $main::client_address, $main::server_address, $result), + $main::server_address, + $main::server_key, ); } @@ -411,8 +411,8 @@ sub ping { my $target = @{$msg_hash->{'target'}}[0]; # switch target and source and send msg back - my $out_hash = &create_xml_hash("got_ping", $target, $source); - my $out_msg = &create_xml_string($out_hash); + my $out_hash = &main::create_xml_hash("got_ping", $target, $source); + my $out_msg = &main::create_xml_string($out_hash); return $out_msg; }