From 98e99abe70ba8ca447b5512d41685cf05c0cdce9 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 26 Sep 2007 11:21:50 +0000 Subject: [PATCH] Udpated Copy & Paste to support release handling git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7410 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/applications/class_applicationGeneric.inc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/plugins/admin/applications/class_applicationGeneric.inc b/plugins/admin/applications/class_applicationGeneric.inc index 4516f8e93..8d9620bc7 100644 --- a/plugins/admin/applications/class_applicationGeneric.inc +++ b/plugins/admin/applications/class_applicationGeneric.inc @@ -485,6 +485,18 @@ class application extends plugin if(isset($_POST['cn'])){ $this->cn = $_POST['cn']; } + + $tmp = search_config($this->config->data,"faiManagement","CLASS"); + if(!empty($tmp)) { + if(!preg_match("/^ou=apps,/",$_SESSION['appfilter']['release'])){ + $this->isReleaseApplikation = true; + } + } + + if($_SESSION['CurrentMainBase']){ + $this->base= $_SESSION['CurrentMainBase']; + } + } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -- 2.30.2