SAAS-1202 - move station podcast to top-level menu item

This commit is contained in:
Duncan Sommerville 2015-11-13 14:57:32 -05:00
parent 50c0bc2c28
commit 8e867b522c
19 changed files with 271 additions and 200 deletions

View file

@ -281,7 +281,7 @@ class Application_Service_PodcastService
// Check the StationPodcast table rather than checking
// the station podcast ID key in preferences for extensibility
$podcast = StationPodcastQuery::create()->findOneByDbPodcastId($podcastId);
$path = $podcast ? 'podcast/station_podcast.phtml' : 'podcast/podcast.phtml';
$path = $podcast ? 'podcast/station.phtml' : 'podcast/podcast.phtml';
$podcast = Application_Service_PodcastService::getPodcastById($podcastId);
return array(
"podcast" => json_encode($podcast),