SAAS-876 - reset to default settings when using Airtime Pro streaming
This commit is contained in:
parent
44dd969c0c
commit
9fdc08f88a
6 changed files with 78 additions and 15 deletions
|
@ -1522,6 +1522,18 @@ class Application_Model_Preference
|
|||
self::setValue("using_custom_stream_settings", $value);
|
||||
}
|
||||
|
||||
// SAAS-876 - Store the default Icecast password to restore when switching
|
||||
// back to Airtime Pro streaming settings
|
||||
|
||||
public static function getDefaultIcecastPassword() {
|
||||
$val = self::getValue("default_icecast_password");
|
||||
return empty($val) ? DEFAULT_ICECAST_PASS : $val;
|
||||
}
|
||||
|
||||
public static function setDefaultIcecastPassword($value) {
|
||||
self::setValue("default_icecast_password", $value);
|
||||
}
|
||||
|
||||
public static function getRadioPageDisplayLoginButton()
|
||||
{
|
||||
return self::getValue("radio_page_display_login_button");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue