summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2b327bb)
raw | patch | inline | side by side (parent: 2b327bb)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 18 Sep 2006 07:58:09 +0000 (07:58 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 18 Sep 2006 07:58:09 +0000 (07:58 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4708 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_divListFai.inc | patch | blob | history | |
plugins/admin/fai/class_faiManagement.inc | patch | blob | history |
index 0384420cd769a3ed35d91578bc7218d4a047a644..f1111e60d92f50f3a79146fdbb3781bced8bf754 100644 (file)
{
$this->ClearElementsList();
$this->GenHeader();
- $this->AvailableBranches = $this->parent->getBranches();
}
function setEntries($list)
index cad64a4d8ee24965daa72cadf9787e8d0645e298..cf0bae1c5cc724cf5f94a1357c84fa64d50cdd59 100644 (file)
/* Creat dialog object */
$this->DivListFai = new divListFai($this->config,$this);
+ $this->DivListFai->AvailableBranches = $this->getBranches();
}
function execute()
unset ($this->dialog);
gosa_log ("FAI class '".$this->dn."' has been removed");
$this->dialog= NULL;
+ $this->DivListFai->AvailableBranches = $this->getBranches();
} else {
/* Normally this shouldn't be reached, send some extra
$ldap = $this->config->get_ldap_link();
}
- $br = $this->getBranches();
+ $br = $this->DivListFai->AvailableBranches;
if(isset($br[$bb])){
$name = $br[$bb];
$ldap->cd(preg_replace('/,ou=fai,ou=configs,ou=systems,/', ',ou=apps,', $bb));
$ldap->recursive_remove();
$this->DivListFai->selectedBranch = "main";
+ $this->DivListFai->AvailableBranches = $this->getBranches();
/* Post remove */
$this->lock_name = $name;
/* Create new Release name to be able to set faidebianRelease for FAIpackageList */
- $CurrentReleases = $this->getBranches();
+ $CurrentReleases = $this->DivListFai->AvailableBranches;
$NewReleaseName = $name;
if(isset($CurrentReleases[$this->DivListFai->selectedBranch])) {
if($this->DivListFai->selectedBranch != "main"){
$this->lock_name = $name;
$this->lock_dn = $baseToUse;
$this->postcreate();
+ $this->DivListFai->AvailableBranches = $this->getBranches();
exit();
}
/* Set base for all searches */
$base = "ou=fai,ou=configs,ou=systems,".$this->DivListFai->selectedBase;
if($this->DivListFai->selectedBranch != "main"){
- $br = $this->getBranches();
+ $br = $this->DivListFai->AvailableBranches;
if(isset($br[$this->DivListFai->selectedBranch])){
$base = $this->DivListFai->selectedBranch;
}else{