Code

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

gosa-si/gosa-si-server

index 4254ccba900ff6697644feebf82684e125972678..cc6b82f181a75a02cbbd95b5cabfe215801c9037 100755 (executable)
@@ -1661,7 +1661,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