updated to removed main module

This commit is contained in:
Roland Gruber 2004-10-10 11:30:20 +00:00
parent c5606519d1
commit 5afddd33a9
1 changed files with 1 additions and 2 deletions

View File

@ -587,8 +587,7 @@ class accountContainer {
if ($post['createagain']) { if ($post['createagain']) {
// Reset objects // Reset objects
$modules = array_keys($this->module); $modules = array_keys($this->module);
foreach ($modules as $module) foreach ($modules as $module) unset($this->module[$module]);
if ($module!='main') unset($this->module[$module]);
// Reset accountContainer // Reset accountContainer
$this->dn = ''; $this->dn = '';
$this->dn_orig = ''; $this->dn_orig = '';