summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 12cf9f7)
raw | patch | inline | side by side (parent: 12cf9f7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 2 Aug 2010 10:08:21 +0000 (10:08 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 2 Aug 2010 10:08:21 +0000 (10:08 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19331 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc | patch | blob | history |
diff --git a/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc b/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc
index 081104d9089255628821e3c0de6c72e44dd21154..7af07d6ec2a15110ea875e92bb377211cd695659 100644 (file)
/* Create class */
function faxreport (&$config, &$ui)
{
+ $this->initTime = microtime(TRUE);
+
/* Include config object */
$this->config = $config;
$this->ui = &$ui;
foreach($tmp as $attrs){
$this->uidToDN[$attrs['uid'][0]] = $attrs['dn'];
}
+
+ // 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));
+
}