Merge branch 'ticket-13943-ResetBOpassword' into develop
This commit is contained in:
commit
b2d1f7bf90
@ -28,6 +28,7 @@ class Ant_Resetbopassword extends Module
|
||||
return false;
|
||||
}
|
||||
|
||||
Db::getInstance()->execute('ALTER TABLE `'._DB_PREFIX_.'employee` ADD `date_passwd_upd` DATETIME DEFAULT "'.pSQL(date("Y-m-d H:i:s")).'"');
|
||||
# Set default configuration values
|
||||
Configuration::updateValue('ANT_RESETBOPASSWORD_FREQ', 3); // month
|
||||
Configuration::updateValue('ANT_RESETBOPASSWORD_LIMIT', 7); // day
|
||||
@ -43,7 +44,6 @@ class Ant_Resetbopassword extends Module
|
||||
return false;
|
||||
}
|
||||
|
||||
Db::getInstance()->execute('ALTER TABLE `'._DB_PREFIX_.'employee` ADD `date_passwd_upd` DATETIME DEFAULT "'.pSQL(date("Y-m-d H:i:s")).'"');
|
||||
Configuration::deleteByName('ANT_RESETBOPASSWORD_FREQ');
|
||||
Configuration::deleteByName('ANT_RESETBOPASSWORD_LIMIT');
|
||||
Configuration::deleteByName('ANT_RESETBOPASSWORD_DATE');
|
||||
|
Loading…
Reference in New Issue
Block a user