Added option for Auto Smartblock and Playlist creation to preferences

This commit is contained in:
Robb Ebright 2017-08-23 12:16:42 -04:00
parent aec0e348c4
commit 3515a898a7
5 changed files with 75 additions and 44 deletions

View file

@ -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);