summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c235b28)
raw | patch | inline | side by side (parent: c235b28)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 2 Aug 2010 10:07:43 +0000 (10:07 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 2 Aug 2010 10:07:43 +0000 (10:07 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19317 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/opsi/admin/opsi/class_opsiProperties.inc | patch | blob | history |
diff --git a/gosa-plugins/opsi/admin/opsi/class_opsiProperties.inc b/gosa-plugins/opsi/admin/opsi/class_opsiProperties.inc
index ec82412996271a5fcc064486bcb44e53a52f2a65..dfa7fe1f6aaae7b12a4352d04be4bf86c47b3617 100644 (file)
*/
public function __construct($config,$product,$cfg = array() ,$hostId = "")
{
+ $this->initTime = microtime(TRUE);
$this->config = $config;
$this->product = $product;
$this->cfg = $cfg;
$this->hostId = $hostId;
+
+ // 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));
}