|
|
@ -13,11 +13,9 @@ class MailboxHandler extends PFAHandler {
|
|
|
|
# init $this->struct, $this->db_table and $this->id_field
|
|
|
|
# init $this->struct, $this->db_table and $this->id_field
|
|
|
|
protected function initStruct() {
|
|
|
|
protected function initStruct() {
|
|
|
|
$passwordReset = Config::read('forgotten_user_password_reset');
|
|
|
|
$passwordReset = Config::read('forgotten_user_password_reset');
|
|
|
|
if ($passwordReset) {
|
|
|
|
$reset_by_sms = 0;
|
|
|
|
$reset_by_sms = 0;
|
|
|
|
if ($passwordReset && Config::read('sms_send_function')) {
|
|
|
|
if (Config::read('sms_send_function')) {
|
|
|
|
$reset_by_sms = 1;
|
|
|
|
$reset_by_sms = 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$this->struct=array(
|
|
|
|
$this->struct=array(
|
|
|
|