Changeset 5 for trunk/Modules/User
- Timestamp:
- Sep 9, 2016, 10:17:39 PM (8 years ago)
- Location:
- trunk/Modules/User
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/User.php
r1 r5 30 30 '`Salt` varchar(255) NOT NULL,'. 31 31 '`Email` varchar(128) NOT NULL DEFAULT "",'. 32 '`BirthDate` date NULL,'. 32 33 '`LastIpAddress` varchar(16) NOT NULL DEFAULT "",'. 33 34 '`LastLoginTime` datetime NULL,'. -
trunk/Modules/User/UserModel.php
r1 r5 174 174 175 175 $Result = USER_REGISTRATED; 176 $this->System->ModuleManager->Modules['Log']->NewRecord('User', 'NewRegistration', $Login); 176 if(array_key_exists('Log', $this->System->ModuleManager->Modules)) 177 $this->System->ModuleManager->Modules['Log']->NewRecord('User', 'NewRegistration', $Login); 177 178 } 178 179 }
Note:
See TracChangeset
for help on using the changeset viewer.