summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a184de8)
raw | patch | inline | side by side (parent: a184de8)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Jan 2008 10:28:05 +0000 (10:28 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Jan 2008 10:28:05 +0000 (10:28 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8306 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-server | patch | blob | history | |
gosa-si/modules/GosaPackages.pm | patch | blob | history |
diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server
index 04577f38e935f15be1c991176b3a876a69d65cb7..4efe5efeb8096ef382a8fac95246391fde8aec88 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
$SIG{CHLD} = 'IGNORE';
# restart daemon log file
-#if(-e $log_file ) { unlink $log_file }
daemon_log(" ", 1);
daemon_log("$0 started!", 1);
index 255022e3d9262f09f3d39f16fd5bfa9e5576642e..70e998bfb4832919825e70317d350f8d592038ed 100644 (file)
my $xml = "<xml>";
while ( my ($hit, $hash) = each %{ $db_res } ) {
- $xml .= "<$hit>";
+ $xml .= "<answer$hit>";
while ( my ($column_name, $column_value) = each %{$hash} ) {
$xml .= "<$column_name>";
$xml .= "</$column_name>";
}
- $xml .= "</$hit>";
+ $xml .= "</answer$hit>";
}
$xml .= "</xml>";
}
# prepare xml answer
- my $out_xml = "<xml><1>$res</1></xml>";
+ my $out_xml = "<xml><answer1>$res</answer1></xml>";
return $out_xml;
}
}
# prepare xml answer
- my $out_xml = "<xml><1>$res</1></xml>";
+ my $out_xml = "<xml><answer1>$res</answer1></xml>";
return $out_xml;
}
}
if( not exists $msg_hash->{update}[0]->{status} ) {
- return "<xml><1>1</1></xml>";
+ return "<xml><answer1>1</answer1></xml>";
}
$update_hash->{update} = [ { status=>$msg_hash->{update}[0]->{status} } ];
}
# prepare xml answer
- my $out_xml = "<xml><1>$res</1></xml>";
+ my $out_xml = "<xml><answer1>$res</answer1></xml>";
return $out_xml;
}
}
if( not exists $msg_hash->{update}[0]->{timestamp} ) {
- return "<xml><1>1</1></xml>";
+ return "<xml><answer1>1</answer1></xml>";
}
$update_hash->{update} = [ { timestamp=>$msg_hash->{update}[0]->{timestamp} } ];
}
# prepare xml answer
- my $out_xml = "<xml><1>$res</1></xml>";
+ my $out_xml = "<xml><answer1>$res</answer1></xml>";
return $out_xml;
}