Made the podcast limit check only occur when LIBRETIME_ENABLE_BILLING is enabled
This commit is contained in:
parent
cfae717215
commit
6e16a34150
|
@ -66,7 +66,7 @@ class Application_Service_PodcastService
|
||||||
*/
|
*/
|
||||||
public static function createFromFeedUrl($feedUrl)
|
public static function createFromFeedUrl($feedUrl)
|
||||||
{
|
{
|
||||||
if (self::PodcastLimitReached()) {
|
if (self::PodcastLimitReached() && LIBRETIME_ENABLE_BILLING) {
|
||||||
throw new PodcastLimitReachedException();
|
throw new PodcastLimitReachedException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue