From c49910ce865fa4880c8117f685a6ce4c3f6b78af Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 5 Jan 2010 09:59:35 +0000 Subject: [PATCH] Enabled autocomplete for opsi stuff git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15044 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_gosaSupportDaemon.inc | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.30.2