From: hickert Date: Tue, 5 Jan 2010 09:59:35 +0000 (+0000) Subject: Enabled autocomplete for opsi stuff X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c49910ce865fa4880c8117f685a6ce4c3f6b78af;p=gosa.git Enabled autocomplete for opsi stuff git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15044 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index ab04844b4..a61e1ea1b 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -56,6 +56,9 @@ class gosaSupportDaemon { #FIXME: bad idea about referencing global variables from within classes global $config; + if(!isset($config) || !$config){ + $config = session::global_get('config'); + } // Detect timeout if($timeout == null){ @@ -1143,6 +1146,9 @@ class gosaSupportDaemon function clean_queue_from_mac($mac) { global $config; + if(!isset($config) || !$config){ + $config = session::global_get('config'); + } /* First of all we have to check which jobs are startet * for $mac