Changeset 342 for trunk/Modules/Project/Project.php
- Timestamp:
- Jan 17, 2012, 10:37:59 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Project/Project.php
r341 r342 19 19 class ProjectComment extends Model 20 20 { 21 function __construct( )21 function __construct($Database) 22 22 { 23 parent::__construct( );23 parent::__construct($Database); 24 24 $this->Name = 'ProjectComment'; 25 25 $this->AddPropertyOneToMany('Project', 'Project'); … … 44 44 function Install() 45 45 { 46 parent::Install(); 46 47 } 47 48 function Un install()48 49 function UnInstall() 49 50 { 50 $Query = 'DROP TABLE IF EXISTS `Project`; 51 DROP TABLE IF EXISTS `ProjectComment`;'; 52 53 } 51 parent::UnInstall(); 52 } 54 53 } 55 54
Note:
See TracChangeset
for help on using the changeset viewer.