X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fplugins%2Fadmin%2Fapplications%2Ftabs_application.inc;h=5b6e82989e9129b09615e9bd925f06f9a4bd92b8;hb=821fec1840c756b9245dae28aed02ab998cf199a;hp=1683c5ef073e2aa49dd65277342343a67fc896d3;hpb=4229189d2ef29e70f0307f096fc15a52aed887c7;p=gosa.git diff --git a/gosa-core/plugins/admin/applications/tabs_application.inc b/gosa-core/plugins/admin/applications/tabs_application.inc index 1683c5ef0..5b6e82989 100644 --- a/gosa-core/plugins/admin/applications/tabs_application.inc +++ b/gosa-core/plugins/admin/applications/tabs_application.inc @@ -27,11 +27,12 @@ class apptabs extends tabs /* Check for new 'dn', in order to propagate the 'dn' to all plugins */ $tmp = $this->config->search("faiManagement", "CLASS",array('menu','tabs')); - if((!empty($tmp)) && (isset($_SESSION['appfilter']['release']))){ + $appfilter = session::get('appfilter'); + if((!empty($tmp)) && (isset($appfilter['release']))){ if(!$baseobject->isReleaseApplikation){ $new_dn= "cn=".$baseobject->cn.",".get_ou('applicationou').$baseobject->base; }else{ - $new_dn ="cn=".$baseobject->cn.",".$_SESSION['appfilter']['release']; + $new_dn ="cn=".$baseobject->cn.",".$appfilter['release']; } }else{ $new_dn= "cn=".$baseobject->cn.",".get_ou('applicationou').$baseobject->base; @@ -51,10 +52,6 @@ class apptabs extends tabs } tabs::save(); - - /* Fix tagging if needed */ - $baseobject->dn= $this->dn; - $baseobject->handle_object_tagging(); } }