summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aae1fab)
raw | patch | inline | side by side (parent: aae1fab)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 2 Aug 2010 10:07:39 +0000 (10:07 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 2 Aug 2010 10:07:39 +0000 (10:07 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19315 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiPartition.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiPartition.inc b/gosa-plugins/fai/admin/fai/class_faiPartition.inc
index 96de10dbc5bb310da7ba47faa2ecf2a3e26b5904..006bc35ee2d126de3a23236f26dde1ddbff0a949 100644 (file)
function __construct($config, $object, $parent,$type)
{
- $this->parent = $parent;
+ $this->initTime = microtime(TRUE);
+ $this->parent = $parent;
$this->FAIdiskType = $type;
// Check if we should be able to add primary partitions.
}
}
}
+
+ // 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));
+
}
function execute()