Set auto ingest timestamp when updating

This commit is contained in:
Duncan Sommerville 2015-10-21 11:18:33 -04:00
parent 0b1df6baf3
commit 6c0055895c
2 changed files with 17 additions and 1 deletions

View file

@ -30,7 +30,7 @@ class PodcastManager {
$service = new Application_Service_PodcastEpisodeService();
foreach ($autoIngestPodcasts as $podcast) {
$episodes = static::_findUningestedEpisodes($podcast, $service);
$podcast->setDbAutoIngestTimestamp(date('r'))->save();
$podcast->setDbAutoIngestTimestamp(gmdate('r'))->save();
$service->downloadEpisodes($episodes);
}