SAAS-855: Default station description in Preferences
This commit is contained in:
parent
060280d5a5
commit
87920c1fc1
2 changed files with 6 additions and 2 deletions
|
@ -498,7 +498,12 @@ class Application_Model_Preference
|
||||||
|
|
||||||
public static function GetStationDescription()
|
public static function GetStationDescription()
|
||||||
{
|
{
|
||||||
return self::getValue("description");
|
$description = self::getValue("description");
|
||||||
|
if (!empty($description)) {
|
||||||
|
return $description;
|
||||||
|
} else {
|
||||||
|
return "Powered by Airtime Pro";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sets station default timezone (from preferences)
|
// Sets station default timezone (from preferences)
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
-- Schema version
|
-- Schema version
|
||||||
INSERT INTO cc_pref("keystr", "valstr") VALUES('system_version', '2.5.9');
|
INSERT INTO cc_pref("keystr", "valstr") VALUES('system_version', '2.5.9');
|
||||||
INSERT INTO cc_pref("keystr", "valstr") VALUES('description', 'Powered by Airtime Pro');
|
|
||||||
|
|
||||||
INSERT INTO cc_subjs ("login", "type", "pass") VALUES ('admin', 'A', md5('admin'));
|
INSERT INTO cc_subjs ("login", "type", "pass") VALUES ('admin', 'A', md5('admin'));
|
||||||
-- added in 2.3
|
-- added in 2.3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue