Changeset 5 for trunk/Modules/User


Ignore:
Timestamp:
Sep 9, 2016, 10:17:39 PM (8 years ago)
Author:
chronos
Message:
  • Added: Show driver age.
Location:
trunk/Modules/User
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/User/User.php

    r1 r5  
    3030      '`Salt` varchar(255) NOT NULL,'.
    3131      '`Email` varchar(128) NOT NULL DEFAULT "",'.
     32      '`BirthDate` date NULL,'.
    3233      '`LastIpAddress` varchar(16) NOT NULL DEFAULT "",'.
    3334      '`LastLoginTime` datetime NULL,'.
  • trunk/Modules/User/UserModel.php

    r1 r5  
    174174
    175175            $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);
    177178          }
    178179        }
Note: See TracChangeset for help on using the changeset viewer.