addSpecialTabs(); } function save($ignore_account= FALSE) { $baseobject= $this->by_object['sudo']; /* Check for new 'dn', in order to propagate the 'dn' to all plugins */ $new_dn= 'cn='.$baseobject->cn.','.sudo::get_sudoers_ou($baseobject->config); /* Move group? */ if ($this->dn != $new_dn){ /* Write entry on new 'dn' */ if ($this->dn != "new"){ $baseobject->update_acls($this->dn,$new_dn); $baseobject->move($this->dn, $new_dn); $this->by_object['sudo']= $baseobject; } /* Happen to use the new one */ $this->dn= $new_dn; } $ret= tabs::save(); return $ret; } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?>