Merge pull request #11 from radiorabe/feature/disable-billing
Problem: Billing is always on
This commit is contained in:
commit
7c86991c50
11 changed files with 176 additions and 164 deletions
|
@ -1573,7 +1573,7 @@ class Application_Model_Preference
|
|||
* @return int either 0 (public) or 1 (private)
|
||||
*/
|
||||
public static function getStationPodcastPrivacy() {
|
||||
if (!Billing::isStationPodcastAllowed()) {
|
||||
if (LIBRETIME_ENABLE_BILLING === true && !Billing::isStationPodcastAllowed()) {
|
||||
// return private setting
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue