Commit a183863d authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Removed the last use of $this->config in class_plugin.inc

parent fb9946da
......@@ -338,11 +338,12 @@ class plugin
*/
function remove_from_parent()
{
global $config;
$this->attrs = array();
if (!$this->mainTab) {
/* include global link_info */
$ldap = $this->config->get_ldap_link();
$ldap = $config->get_ldap_link();
/* Get current objectClasses in order to add the required ones */
$ldap->cat($this->dn);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment