Try to fix some schedule bugs

This commit is contained in:
Duncan Sommerville 2015-11-23 14:55:37 -05:00
parent d4d152c670
commit 553299e9f5
2 changed files with 16 additions and 3 deletions

View file

@ -1572,6 +1572,9 @@ class Application_Model_Preference
self::setValue("station_podcast_download_counter", empty($c) ? 0 : --$c);
}
/**
* @return int either 0 (public) or 1 (private)
*/
public static function getStationPodcastPrivacy() {
if (!Billing::isStationPodcastAllowed()) {
// return private setting