Made the podcast limit check only occur when LIBRETIME_ENABLE_BILLING is enabled

This commit is contained in:
Robbt 2018-09-05 12:50:56 -04:00
parent cfae717215
commit 6e16a34150
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();
}