summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2f4c76a)
raw | patch | inline | side by side (parent: 2f4c76a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 27 Mar 2008 09:02:53 +0000 (09:02 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 27 Mar 2008 09:02:53 +0000 (09:02 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10013 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiPackage.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiPackage.inc b/gosa-plugins/fai/admin/fai/class_faiPackage.inc
index f3df812bbb9cc95507609786aefc31c2dd6cfb71..6d60ba9f400d6b06acf24f277083d6ed21c2dc8d 100644 (file)
var $FAIstate = "";
var $view_logged = FALSE;
var $base;
+ var $FAIpackage ;
var $FAIinstallMethods = array( "install", "ninstall", "remove",
"dselect-upgrade", "taskinst", "taskrm",
function genPkgs()
{
- if($this->buffer === NULL || !count($this->buffer)){
+ $start = microtime(1);
+ if(1 | $this->buffer === NULL || !count($this->buffer)){
$this->buffer = array();
$q = new gosaSupportDaemon();
- $attrs = array("distribution", "package","version", "section", "description", "timestamp","template=''");
+ $attrs = array("distribution", "package","version=''", "section", "description", "timestamp=''","template=''");
$ret = $q->FAI_get_packages($this->FAIdebianRelease,$attrs);
if($q->is_error()){
msg_dialog::display(_("Service infrastructure"),msgPool::siError($q->get_error()),ERROR_DIALOG);
}
}
}
+
+ printf("%0.6f",(microtime(1) - $start));
+ print_a($this->buffer);
return $this->buffer;
}