summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 89549ef)
raw | patch | inline | side by side (parent: 89549ef)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 28 Jul 2006 04:56:04 +0000 (04:56 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 28 Jul 2006 04:56:04 +0000 (04:56 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4332 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions_FAI.inc | patch | blob | history |
index 7bae51a105c77df6227b2f6ccc81b7aaf20d0141..6843c0d48610a32c24fdfcf0b5dbf5515a6f75c5 100644 (file)
global $config;
$ldap = $config->get_ldap_link();
$ldap->cd($config->current['BASE']);
+ $res = array();
+ $tmp = array();
+
+ if(!is_release_department($Current_DN)) {
+ return($res);
+ }
/* Collect some basic informations and initialize some variables */
$base_release = get_release_dn($Current_DN);
$previous_releases = array_reverse(get_previous_releases_of_this_release($base_release,true));
- $res = array();
- $tmp = array();
/* We must also include the given release dn */
$previous_releases[] = $base_release;