summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 78a6fac)
raw | patch | inline | side by side (parent: 78a6fac)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Feb 2008 08:19:40 +0000 (08:19 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Feb 2008 08:19:40 +0000 (08:19 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9146 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 ddaae29b6b03da9a0654a56652ba564477545eb4..90579fd082d47459e5da18b09a5b17084e93d0ef 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
our $fai_server_db;
our $fai_server_tn = "fai_server";
my $fai_server_file_name;
-my @fai_server_col_names = ('timestamp', 'server', 'release', 'tag');
+our @fai_server_col_names = ('timestamp', 'server', 'release', 'tag');
%cfg_defaults = (
"general" => {
}
};
if($@) {
- &main::daemon_log("WARNING: do not understand the message", 5);
- &main::daemon_log("$@", 8);
+ &main::daemon_log("WARNING: do not understand the message: $@", 5);
$msg = undef;
$msg_hash = undef;
}
sub create_fai_server_db {
+ my ($table_name) = @_;
#####################################################################
#
#
# ###################################################################
- $fai_server_db->add_dbentry( {
- table => $fai_server_tn,
- primkey => [],
- server => "dummyserver",
- release => "kleinkind",
- tag => "imwachstum",
- } );
- return;
+ $fai_server_db->add_dbentry( {
+ table => $table_name,
+ primkey => [],
+ server => "dummyserver",
+ release => "kleinkind",
+ tag => "imwachstum",
+ } );
+ return;
}
# connect to fai_server_db
$fai_server_db = GOSA::DBsqlite->new($fai_server_file_name);
$fai_server_db->create_table($fai_server_tn, \@fai_server_col_names);
-&create_fai_server_db;
+&create_fai_server_db($fai_server_tn);
# create xml object used for en/decrypting
$xml = new XML::Simple();