summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 194981f)
raw | patch | inline | side by side (parent: 194981f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 2 Aug 2010 10:07:51 +0000 (10:07 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 2 Aug 2010 10:07:51 +0000 (10:07 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19320 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc b/gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc
index b2c8edefbb86b70ca286c1cc770ae45a3162c57b..7d815d40fae10b81f7fdb9d46e61acf888a0128d 100644 (file)
function __construct(&$config, $dn, $license, $hosts = array())
{
-
+ $this->initTime = microtime(TRUE);
$this->config = $config;
$this->data = $license;
$this->dn = $dn;
// Extract pool name out of the fake dn.
$this->init();
+
+ // 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));
}