SAAS-1080: Station podcast feed
This commit is contained in:
parent
30d742af92
commit
14104a93ae
14 changed files with 347 additions and 316 deletions
|
@ -5,6 +5,10 @@ class PodcastFactory
|
|||
public static function create($feedUrl)
|
||||
{
|
||||
// check if station podcast exists and if not, create one
|
||||
$stationPodcastId = Application_Model_Preference::getStationPodcastId();
|
||||
if (empty($stationPodcastId)) {
|
||||
Application_Service_PodcastService::createStationPodcast();
|
||||
}
|
||||
|
||||
return Application_Service_PodcastService::createFromFeedUrl($feedUrl);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue