Add station podcast privacy toggle

This commit is contained in:
Duncan Sommerville 2015-10-21 17:30:24 -04:00
parent 92ffa955c3
commit 6580c12ad3
12 changed files with 71 additions and 10 deletions

View file

@ -1564,4 +1564,12 @@ class Application_Model_Preference
$c = self::getStationPodcastDownloadCounter();
self::setValue("station_podcast_download_counter", empty($c) ? 0 : --$c);
}
public static function getStationPodcastPrivacy() {
return self::getValue("station_podcast_privacy");
}
public static function setStationPodcastPrivacy($value) {
self::setValue("station_podcast_privacy", $value);
}
}