Changeset 8 for trunk/Modules/User/ModuleUser.php
- Timestamp:
- Jun 1, 2023, 12:18:18 AM (19 months ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/ModuleUser.php
r7 r8 1 1 <?php 2 2 3 include_once(dirname(__FILE__).'/User Model.php');4 include_once(dirname(__FILE__).'/ UserList.php');5 include_once(dirname(__FILE__).'/ UserPage.php');6 7 class ModuleUser extends AppModule3 include_once(dirname(__FILE__).'/User.php'); 4 include_once(dirname(__FILE__).'/PageUserList.php'); 5 include_once(dirname(__FILE__).'/PageUser.php'); 6 7 class ModuleUser extends Module 8 8 { 9 9 var $UserPanel; … … 21 21 } 22 22 23 function DoInstall() 23 function DoInstall(): void 24 24 { 25 25 $this->Database->query('CREATE TABLE IF NOT EXISTS `User` ('. … … 107 107 } 108 108 109 function DoUninstall() 109 function DoUninstall(): void 110 110 { 111 111 $this->Database->query('DROP TABLE `PermissionUserAssignment`'); … … 117 117 } 118 118 119 function DoUpgrade() 119 function DoUpgrade(): string 120 120 { 121 121 /* … … 126 126 } 127 127 */ 128 } 129 130 function DoStart() 128 return ''; 129 } 130 131 function DoStart(): void 131 132 { 132 133 $this->System->User = new User($this->System); … … 281 282 } 282 283 283 function DoStop() 284 function DoStop(): void 284 285 { 285 286 }
Note:
See TracChangeset
for help on using the changeset viewer.