summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eb5573a)
raw | patch | inline | side by side (parent: eb5573a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 Nov 2005 07:42:22 +0000 (07:42 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 Nov 2005 07:42:22 +0000 (07:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2036 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiHook.inc | patch | blob | history | |
plugins/admin/fai/class_faiHookEntry.inc | patch | blob | history |
index 0de6e7508d28dcc5318983ff52da452f4f34c0b1..1d23d113ca791d9332c961de78c48175d63185a4 100644 (file)
}
}
- function getUsedFAItask()
+ function getUsedFAItask($cn)
{
$ret = array();
foreach($this->SubObjects as $name => $class){
+ if($class['cn'] == $cn){
+ continue;
+ }
if($class['status'] != "delete"){
$ret[$class['FAItask']] = $class['FAItask'];
}
index 5b36ec8601f7c9b2b7ab5cca2610f82f7cf5c55d..4b10f1befbfa758c956d08f9b823b98af1342cf4 100644 (file)
}
}
- $used_tasks = $this->parent->getUsedFAItask();
+ $used_tasks = $this->parent->getUsedFAItask($this->cn);
$tasks = $this->tasks;
foreach($this->tasks as $id => $task){
if(in_array($task,$used_tasks)){