Changeset 403 for branches/Modular/Common/Module.php
- Timestamp:
- Jun 11, 2012, 10:08:38 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Modular/Common/Module.php
r401 r403 45 45 { 46 46 DebugLog('Uninstalling module '.$this->Name.'...'); 47 foreach($this->Models as $Index => $Model) 47 $this->LoadModels(); 48 foreach(array_reverse($this->Models, true) as $Index => $Model) 48 49 { 49 50 $this->Models[$Index]->UnInstall(); … … 170 171 $this->ReloadList(); 171 172 $this->LoadModules(false); 172 $this->Modules['System']->Install();173 //foreach($this->Modules as $Index => $Module)174 //{175 //$this->Modules[$Index]->Install();176 //}173 //$this->Modules['System']->Install(); 174 foreach($this->Modules as $Index => $Module) 175 { 176 $this->Modules[$Index]->Install(); 177 } 177 178 } 178 179 … … 180 181 { 181 182 DebugLog('Uninstalling modular system core...'); 182 foreach( $this->Modulesas $Index => $Module)183 foreach(array_reverse($this->Modules, true) as $Index => $Module) 183 184 $this->Modules[$Index]->UnInstall(); 184 185
Note:
See TracChangeset
for help on using the changeset viewer.