Closed ewallah closed 7 years ago
The old class constructor is deprecated in PHP7 and uses Events 1 API deprecated handlers
Possible changes: public function __construct() { $this->authtype = 'emailadmin'; $this->config = get_config('auth/emailadmin'); }
public function auth_plugin_email() { debugging('Use of class name as constructor is deprecated', DEBUG_DEVELOPER); self::__construct(); }
\core\event\user_created::create_from_userid($user->id)->trigger();
Thanks, I'll look into it toward the end of the month.
Best regards, Felipe
Should be fixed by now.
The old class constructor is deprecated in PHP7 and uses Events 1 API deprecated handlers
Possible changes: public function __construct() { $this->authtype = 'emailadmin'; $this->config = get_config('auth/emailadmin'); }
public function auth_plugin_email() { debugging('Use of class name as constructor is deprecated', DEBUG_DEVELOPER); self::__construct(); }
\core\event\user_created::create_from_userid($user->id)->trigger();