Merge branch 'saas-dev' into saas-dev-bandwidth-limits

This commit is contained in:
drigato 2015-11-26 11:30:03 -05:00
commit 34eb7d6e22
13 changed files with 267 additions and 32 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