Commit 7668cf31 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Côme Bernigaud
Browse files

Fixes: #2624 ogroup should use simplePlugin

Conflicts:
	include/class_config.inc
	include/select/objectSelect/class_objectSelect.inc
	plugins/admin/groups/class_group.inc
	plugins/admin/ogroups/class_ogroup.inc
	plugins/personal/generic/class_user.inc
parent 5d9bbb1c
This diff is collapsed.
......@@ -238,11 +238,8 @@ class ogrouptabs extends tabs
}
function execute() {
$str = "";
$this->by_object['ogroup']->AddDelMembership();
$this->reload($this->by_object['ogroup']->gosaGroupObjects);
$str .= tabs::execute();
return $str;
return parent::execute();
}
function check($ignore_account = FALSE)
......@@ -277,11 +274,11 @@ class ogrouptabs extends tabs
function save()
{
$baseobject = $this->by_object['ogroup'];
$baseobject = $this->getBaseObject();
/* Check for new 'dn', in order to propagate the
'dn' to all plugins */
$new_dn = 'cn='.$baseobject->cn.','.get_ou('ogroupRDN').$baseobject->base;
$new_dn = $baseobject->compute_dn();
/* Move group? */
if (LDAP::fix($this->dn) != LDAP::fix($new_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