Hide podcast from radio page for hobbyist plans
This commit is contained in:
parent
9a8e80f74b
commit
ceafccd685
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue