Changeset 594 for trunk/Common/Setup/Setup.php
- Timestamp:
- Nov 2, 2013, 11:23:19 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Setup/Setup.php
r593 r594 404 404 $this->Database->query("INSERT INTO `SystemVersion` (`Id`, `Revision`) VALUES 405 405 (1, 591);"); 406 $this->Database->query("CREATE TABLE IF NOT EXISTS `Module` ( 407 `Id` int(11) NOT NULL AUTO_INCREMENT, 408 `Name` varchar(255) NOT NULL, 409 `Title` varchar(255) NOT NULL, 410 PRIMARY KEY (`Id`) 411 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;"); 406 412 } 407 413 408 414 function Uninstall() 409 415 { 416 $this->System->ModuleManager->UninstallAll(); 417 $this->Database->query('DROP TABLE `Module`'); 410 418 $this->Database->query('DROP TABLE `SystemVersion`'); 411 419 } … … 419 427 function Upgrade() 420 428 { 421 $Output = $this-> ModuleManager->Update();429 $Output = $this->UpdateManager->Upgrade(); 422 430 return($Output); 423 431 }
Note:
See TracChangeset
for help on using the changeset viewer.