Merge pull request #512 from Robbt/fix/disable-podcast-subscription-limit

Made podcast subscription limit depend upon SaaS billing flag
This commit is contained in:
Lucas Bickel 2018-09-09 10:56:02 +02:00 committed by GitHub
commit b79af9480b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class Application_Service_PodcastService
*/
public static function createFromFeedUrl($feedUrl)
{
if (self::PodcastLimitReached()) {
if (self::PodcastLimitReached() && LIBRETIME_ENABLE_BILLING) {
throw new PodcastLimitReachedException();
}