public function update(Validation $validation = NULL) { if (!empty($this->username)) { $this->username_clean = mb_strtolower($this->username); } $this->user_email_hash = Helper::phpbb_email_hash($this->email); return parent::update($validation); }
public function update(Validation $validation = NULL) { if (!empty($this->username)) { $this->username_clean = mb_strtolower($this->username); } $this->user_email_hash = Helper::phpbb_email_hash($this->email); return parent::update($validation); }