Code

Fixed missing scope.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 6 Feb 2008 10:57:08 +0000 (10:57 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 6 Feb 2008 10:57:08 +0000 (10:57 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8755 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/client/events/corefunctions.pm

index 415342b6d3ae85729e2edc8170ca50ddc9727bba..1dfc090811ebd57c41eb8ba8ba60e11744ba8429 100644 (file)
@@ -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;
 
 }