Changeset 586 for trunk/Modules/System/System.php
- Timestamp:
- Oct 31, 2013, 9:30:09 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/System/System.php
r577 r586 113 113 } 114 114 115 function Install() 116 { 117 if($this->IsInstalled()) return; 118 parent::Install(); 115 function DoInstall() 116 { 119 117 $this->Database->query('CREATE TABLE IF NOT EXISTS `SystemVersion` ( 120 118 `Id` int(11) NOT NULL AUTO_INCREMENT, … … 166 164 } 167 165 168 function UnInstall() 169 { 170 parent::UnInstall(); 171 if(!$this->IsInstalled()) return; 172 166 function DoUnInstall() 167 { 173 168 // Delete tables with reverse order 174 169 $this->Database->query('ALTER TABLE `SystemModelProperty` DROP FOREIGN KEY `SystemModelProperty_ibfk_1`'); … … 183 178 } 184 179 185 function Start() 186 { 187 parent::Start(); 180 function DoStart() 181 { 188 182 $this->System->RegisterPage('module', 'PageModules'); 189 183 //$this->Manager->OnModuleChange = array($this, 'ModuleChange'); … … 191 185 } 192 186 193 function Stop() 194 { 195 parent::Stop(); 187 function DoStop() 188 { 196 189 } 197 190
Note:
See TracChangeset
for help on using the changeset viewer.