From: hickert Date: Tue, 25 Mar 2008 11:39:22 +0000 (+0000) Subject: Updated FAI package handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c404efdcec8430edc631414b0e2d6b54f957f20f;p=gosa.git Updated FAI package handling - gosa-si git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9969 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index af43e3bee..219fdbb36 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -134,12 +134,23 @@ class gosaSupportDaemon } - public function FAI_get_packages($release) + public function FAI_get_packages($release,$package = "") { $this->reset_error(); - $xml_msg = "
gosa_query_packages_list
GOSAGOSA". - "".$release."
"; + if(empty($package)){ + $xml_msg = "
gosa_query_packages_list
GOSAGOSA". + "".$release."
"; + }else{ + $xml_msg = + "
gosa_query_packages_list
GOSAGOSA". + "". + "AND". + "".$release."". + "".$package."". + "". + "
"; + } $ret = array(); if($this->connect()){