Hide podcast from radio page for hobbyist plans

This commit is contained in:
drigato 2015-11-18 12:12:57 -05:00
parent 9a8e80f74b
commit ceafccd685
1 changed files with 5 additions and 0 deletions

View File

@ -1573,6 +1573,11 @@ class Application_Model_Preference
}
public static function getStationPodcastPrivacy() {
if (!Billing::isStationPodcastAllowed()) {
// return private setting
return 1;
}
return self::getValue("station_podcast_privacy");
}