index 8f56480576b192f6cb8a7f31ab1e0753bbc2888f..9e057c8f1f80ab0215da1f294c6a7c2cfc5906be 100644 (file)
use warnings;
use GOSA::GosaSupportDaemon;
use Data::Dumper;
use warnings;
use GOSA::GosaSupportDaemon;
use Data::Dumper;
-use utf8;
BEGIN {}
BEGIN {}
return \@events;
}
return \@events;
}
-sub query_fai_releases{ return &query_db( @_ ); }
+sub query_fai_release{ return &query_db( @_ ); }
sub query_fai_server{ return &query_db( @_ ) ; }
sub query_packages_list { return &query_db( @_ ) ; }
sub query_jobdb { return &query_db( @_ ) ; }
sub query_fai_server{ return &query_db( @_ ) ; }
sub query_packages_list { return &query_db( @_ ) ; }
sub query_jobdb { return &query_db( @_ ) ; }
} elsif( $header =~ /query_fai_server/ ) {
$table = $main::fai_server_tn;
$db = $main::fai_server_db;
} elsif( $header =~ /query_fai_server/ ) {
$table = $main::fai_server_tn;
$db = $main::fai_server_db;
- } elsif( $header =~ /count_fai_release/ ) {
+ } elsif( $header =~ /query_fai_release/ ) {
$table = $main::fai_release_tn;
$table = $main::fai_release_tn;
- $db = $main::fai_server_db;
+ $db = $main::fai_release_db;
}
}
return @out_msg_l;
}
return @out_msg_l;
}
-sub count_fai_release{ return &count_db( @_ ); }
+sub count_fai_releas{ return &count_db( @_ ); }
sub count_fai_server{ return &count_db( @_ ); }
sub count_packages_list{ return &count_db( @_ ); }
sub count_jobdb{ return &count_db( @_ ); }
sub count_fai_server{ return &count_db( @_ ); }
sub count_packages_list{ return &count_db( @_ ); }
sub count_jobdb{ return &count_db( @_ ); }
my $table= $main::job_queue_tn;
my $where= &get_where_statement($msg, $msg_hash);
my $sql_statement = "DELETE FROM $table $where";
my $table= $main::job_queue_tn;
my $where= &get_where_statement($msg, $msg_hash);
my $sql_statement = "DELETE FROM $table $where";
-
+ &main::daemon_log("$session_id DEBUG: $sql_statement",7);
# execute db query
my $db_res = $main::job_db->del_dbentry($sql_statement);
# execute db query
my $db_res = $main::job_db->del_dbentry($sql_statement);