Added option for Auto Smartblock and Playlist creation to preferences
This commit is contained in:
parent
aec0e348c4
commit
3515a898a7
5 changed files with 75 additions and 44 deletions
|
@ -376,6 +376,18 @@ class Application_Model_Preference
|
|||
return $val === '1' ? true : false;
|
||||
}
|
||||
|
||||
public static function SetPodcastAutoSmartblock($bool)
|
||||
{
|
||||
self::setValue("podcast_auto_smartblock", $bool);
|
||||
}
|
||||
|
||||
public static function GetPodcastAutoSmartblock()
|
||||
{
|
||||
$val = self::getValue("podcast_auto_smartblock");
|
||||
return $val === '1' ? true : false;
|
||||
}
|
||||
|
||||
|
||||
public static function SetPhone($phone)
|
||||
{
|
||||
self::setValue("phone", $phone);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue