summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ce27b1c)
raw | patch | inline | side by side (parent: ce27b1c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 2 Aug 2010 10:07:56 +0000 (10:07 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 2 Aug 2010 10:07:56 +0000 (10:07 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19322 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/opsi/admin/opsiLicenses/class_licenseUsageByHost.inc | patch | blob | history |
diff --git a/gosa-plugins/opsi/admin/opsiLicenses/class_licenseUsageByHost.inc b/gosa-plugins/opsi/admin/opsiLicenses/class_licenseUsageByHost.inc
index 96b1f0ae9d22799364d43d51522c5f0a57f89328..471715c7d552747719568ac4f23950f7201bbd21 100644 (file)
function __construct(&$config,$dn)
{
+ $this->initTime = microtime(TRUE);
$this->config = $config;
$this->dn = $this->orig_dn = $dn;
$this->si = new opsiLicenceHandler($this->config);
$this->usedList->setHeader(array(_("Key"),_("Pool"),_("License ID")));
$this->usedList->setDefaultSortColumn(1);
$this->usedList->setAcl('rwcdm'); // All ACLs, we filter on our own here.
+
+ // Create statistic table entry
+ stats::log('plugin', $class = get_class($this), $category = array($this->acl_category), $action = 'open',
+ $amount = 1, $duration = (microtime(TRUE) - $this->initTime));
}