CC-3667 : Preferences pages should have an option to enable/disable password recovery option
This commit is contained in:
parent
7aeddf5bb0
commit
b6bed6ce7a
3 changed files with 14 additions and 5 deletions
|
@ -794,7 +794,13 @@ class Application_Model_Preference
|
|||
}
|
||||
|
||||
public static function GetEnableSystemEmail() {
|
||||
return self::GetValue("enable_system_email");
|
||||
$v = self::GetValue("enable_system_email");
|
||||
|
||||
if ($v === "") {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return $v;
|
||||
}
|
||||
|
||||
public static function SetSystemEmail($value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue