Code

local and foreign jobs can be hosted from each si-server
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 3 Nov 2008 17:14:44 +0000 (17:14 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 3 Nov 2008 17:14:44 +0000 (17:14 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12886 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index ae637270507b34543f57ffcc159a6079297d81e6..9c0c9776b202582cb7dcea01c9d78b809effef08 100755 (executable)
@@ -1687,7 +1687,7 @@ sub watch_for_opsi_jobs {
 sub watch_for_modified_jobs {
     my ($kernel,$heap) = @_[KERNEL, HEAP];
 
-    my $sql_statement = "SELECT * FROM $job_queue_tn WHERE ((siserver='localhost') AND (modified='1'))"; 
+    my $sql_statement = "SELECT * FROM $job_queue_tn WHERE (modified='1')"; 
     my $res = $job_db->select_dbentry( $sql_statement );
     
     # if db contains no jobs which should be update, do nothing