Ignore:
Timestamp:
Dec 7, 2021, 11:08:42 PM (2 years ago)
Author:
chronos
Message:
  • Added: Allow to switch Mail class into test mode.
  • Modified: Type checking related changes.
  • Modified: Replace global $Config references with $this->System->Config is possible.
File:
1 edited

Legend:

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

    r908 r916  
    4545}
    4646
    47 // TODO: Make User class more general without dependencies to System, Mail, Log
     47// TODO: Make User class more general without dependencies on System, Mail, Log
    4848
    4949class User extends Model
     
    418418        $Row['Id'].'&H='.$Row['Password'].'&P='.$NewPassword.'">tento odkaz</a>.'."\n<br />".
    419419        "Po přihlášení si prosím změňte heslo na nové.\n\n<br><br>Na tento email neodpovídejte.", 'text/html');
     420      print_r($Mail);
    420421      $Mail->Send();
    421422
Note: See TracChangeset for help on using the changeset viewer.