summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5f4ccc8)
raw | patch | inline | side by side (parent: 5f4ccc8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Mar 2008 11:39:22 +0000 (11:39 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Mar 2008 11:39:22 +0000 (11:39 +0000) |
- gosa-si
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9969 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9969 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_gosaSupportDaemon.inc | patch | blob | history |
diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc
index af43e3bee169902dae458a7eaebed94528e78e95..219fdbb36ca2ed0d03dcce6ff3d5524e5527e3c8 100644 (file)
}
- public function FAI_get_packages($release)
+ public function FAI_get_packages($release,$package = "")
{
$this->reset_error();
- $xml_msg = "<xml><header>gosa_query_packages_list</header><target>GOSA</target><source>GOSA</source>".
- "<where><clause><phrase><distribution>".$release."</distribution></phrase></clause></where></xml>";
+ if(empty($package)){
+ $xml_msg = "<xml><header>gosa_query_packages_list</header><target>GOSA</target><source>GOSA</source>".
+ "<where><clause><phrase><distribution>".$release."</distribution></phrase></clause></where></xml>";
+ }else{
+ $xml_msg =
+ "<xml><header>gosa_query_packages_list</header><target>GOSA</target><source>GOSA</source>".
+ "<where><clause>".
+ "<connector>AND</connector>".
+ "<phrase><distribution>".$release."</distribution></phrase>".
+ "<phrase><package>".$package."</package></phrase>".
+ "</clause></where>".
+ "</xml>";
+ }
$ret = array();
if($this->connect()){