summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 99f65c0)
raw | patch | inline | side by side (parent: 99f65c0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 May 2010 13:32:54 +0000 (13:32 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 May 2010 13:32:54 +0000 (13:32 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18269 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc
index 2f6e60a2ca39c6a2ee1646ad86604df75f4714d6..50dbb5540ccff759baa4b56542a7c7666a72e623 100644 (file)
*/
function getReleases()
{
- $ret =array("/" => array("name" => "/", "found" => TRUE , "parts" => array(),"suffix" => get_ou('applicationRDN')));
+ $ret =array("/" => array("name" => "/", "found" => TRUE , "parts" => array(),"suffix" => get_ou("application", "applicationRDN") ));
if($this->enableReleaseManagement){
/* Only display those releases that we are able to read
*/
- $dn = get_ou("applicationRDN").$this->config->current['BASE'];
+ $dn = get_ou("application", "applicationRDN") .$this->config->current['BASE'];
$filter = "(&(objectClass=organizationalUnit)(objectClass=FAIbranch))";
$res = get_sub_list($filter,array("application","fai"),
- array(get_ou("applicationRDN"),get_ou("faiBaseRDN")),$dn, array("ou","FAIstate"), GL_SUBSEARCH);
+ array(get_ou("application", "applicationRDN") ,get_ou("application", "applicationRDN") ),$dn, array("ou","FAIstate"), GL_SUBSEARCH);
/* Go through all departments and check which department is a valid
department release.
*/
foreach($res as $attrs){
- if(preg_match("/".get_ou('applicationRDN')."/i",$attrs['dn'])){
+ if(preg_match("/".get_ou("application", "applicationRDN") ."/i",$attrs['dn'])){
/* Parse all returned departments dns into a useable type.
(ou=1.0.0,ou=halut,ou=apps ==> halue/1.0.0)
*/
- $bb = preg_replace("/".preg_quote(get_ou('applicationRDN'), '/').".*/i","",$attrs['dn']);
+ $bb = preg_replace("/".preg_quote(get_ou("application", "applicationRDN") , '/').".*/i","",$attrs['dn']);
$parts = array_reverse(explode("ou=",$bb));
$str ="";
"found" => $found,
"FAIstate" => $FAIstate,
"dn" => $attrs['dn'],
- "parts" => $parts,"suffix" => $bb.get_ou('applicationRDN'));
+ "parts" => $parts,"suffix" => $bb.get_ou("application", "applicationRDN") );
}
}
}
$used_apps = $this->_get_used_entry_name();
foreach($this->apps as $key => $app){
if(in_array($app['cn'][0],$used_apps)) continue;
- if(!preg_match("/".get_ou('applicationRDN').preg_quote($this->curbase, '/')."$/",$app['dn'])){
+ if(!preg_match("/".get_ou("application", "applicationRDN") .preg_quote($this->curbase, '/')."$/",$app['dn'])){
continue;
}