SAAS-855: Default station description in Preferences

This commit is contained in:
drigato 2015-06-09 09:01:15 -04:00
parent 060280d5a5
commit 87920c1fc1
2 changed files with 6 additions and 2 deletions

View file

@ -498,7 +498,12 @@ class Application_Model_Preference
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)

View file

@ -1,6 +1,5 @@
-- Schema version
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'));
-- added in 2.3