CC-3667 : Preferences pages should have an option to enable/disable password recovery option

This commit is contained in:
Naomi Aro 2012-04-25 11:32:43 +02:00
parent 8020ae0a29
commit 4cdfd33044
3 changed files with 42 additions and 1 deletions

View file

@ -789,6 +789,14 @@ class Application_Model_Preference
return self::GetValue("live_dj_source_connection_url");
}
public static function SetEnableSystemEmail($upload) {
self::SetValue("enable_system_email", $upload);
}
public static function GetEnableSystemEmail() {
return self::GetValue("enable_system_email");
}
public static function SetSystemEmail($value) {
self::SetValue("system_email", $value, false);
}