From c404efdcec8430edc631414b0e2d6b54f957f20f Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 25 Mar 2008 11:39:22 +0000 Subject: [PATCH] Updated FAI package handling - gosa-si git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9969 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_gosaSupportDaemon.inc | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) 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()){ -- 2.30.2