diff --git a/gosa-core/include/class_userFilterEditor.inc b/gosa-core/include/class_userFilterEditor.inc
index 51ce8e95caae4ca7e6994d9b6be14483dba3460a..5cfc7c073d44f9eb3a823a433131d5bce4ee16a8 100644 (file)
*/
function __construct($entry, $listing)
{
+
$this->listing = &$listing;
if($entry){
$this->entry = $entry;
$this->enable = in_array("enable",$entry['flags']);
}
$this->orig_name = $this->name;
+
+ // Create statistic table entry
+ $this->initTime = microtime(TRUE);
+ stats::log('plugin', $class = get_class($this), $category = array($this->acl_category), $action = 'open',
+ $amount = 1, $duration = (microtime(TRUE) - $this->initTime));
}