diff --git a/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc b/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc
index b223e7453503c91a9af9d84737950e3746a2c5d6..ee057e6bc82ade87c2c39471389d7ba77beff74c 100644 (file)
function ldifexport (&$config, $dn= NULL)
{
+
+ $this->initTime = microtime(TRUE);
/* Include config object */
$this->config= &$config;
$this->ui = get_userinfo();
$this->baseSelector->setSubmitButton(false);
$this->baseSelector->setHeight(300);
$this->baseSelector->update(true);
+ stats::log('plugin', $class = get_class($this), $category = array($this->acl_category), $action = 'open',
+ $amount = 1, $duration = (microtime(TRUE) - $this->initTime));
}
sprintf(_("You have no permission to export %s!"), bold(LDAP::fix($dn))),
ERROR_DIALOG);
}else{
- $data = $ldap->generateLdif(LDAP::fix($dn), 'objectClass=*',array(),$scope);
+ $data = $ldap->generateLdif(LDAP::fix($dn), 'objectClass=*',$scope);
send_binary_content($data,$name);
}
}