Add station podcast privacy toggle
This commit is contained in:
parent
92ffa955c3
commit
6580c12ad3
12 changed files with 71 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue