summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ec21168)
raw | patch | inline | side by side (parent: ec21168)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 8 Sep 2008 14:11:59 +0000 (14:11 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 8 Sep 2008 14:11:59 +0000 (14:11 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12375 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-server | patch | blob | history |
diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server
index 8bc1100fd8952f69ad42795e76a594fea4ae8587..1807d9c824f1f5e88fdcd2fc7e0d82b44f2e2aca 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
# add locally loaded gosa-si modules to registration message
my $loaded_modules = {};
while (my ($package, $pck_info) = each %$known_modules) {
- foreach my $act_module (keys(%{@$pck_info[2]})) {
- $loaded_modules->{$act_module} = "";
- }
+ next if ((!defined(@$pck_info[2])) || (!(ref (@$pck_info[2]) eq 'HASH')));
+ foreach my $act_module (keys(%{@$pck_info[2]})) {
+ $loaded_modules->{$act_module} = "";
+ }
}
+
map(&add_content2xml_hash($myhash, "loaded_modules", $_), keys(%$loaded_modules));
# add macaddress to registration message