diff --git a/plugins/personal/connectivity/class_intranetAccount.inc b/plugins/personal/connectivity/class_intranetAccount.inc
index d891007ed67d922127d98e74fdc0c308a6cfc42b..1f475bf2578b022e78771964ef8bddd448cb9a92 100644 (file)
/* ObjectClasses list for save action */
var $objectclasses= array("gosaIntranetAccount");
+ var $uid ="";
+
/*! \brief Konstructor
\param $config The Config Object used to initialise plugin
\version 1.00
\date 1.07.2005
*/
- function intranetAccount ($config, $dn= NULL)
+ function intranetAccount ($config, $dn= NULL, $parent= NULL)
{
- plugin::plugin ($config, $dn);
+ plugin::plugin ($config, $dn, $parent);
+
+ /* Setting uid to default */
+ if(isset($this->attrs['uid'][0])){
+ $this->uid = $this->attrs['uid'][0];
+ }
}
/*!
show_ldap_error($ldap->get_error(), _("Removing intranet account failed"));
/* Optionally execute a command after we're done */
- $this->postremove();
+ $this->postremove(array("uid"=>$this->uid));
}
}
show_ldap_error($ldap->get_error(), _("Saving intranet account failed"));
/* Optionally execute a command after we're done */
- $this->postcreate();
+ $this->postcreate(array("uid"=> $this->uid));
}
}