equal
deleted
inserted
replaced
590 { |
590 { |
591 // we do not need to any special action on this error. |
591 // we do not need to any special action on this error. |
592 iActiveFeed->SetLastError(parserErr); |
592 iActiveFeed->SetLastError(parserErr); |
593 DP1("CFeedEngine::Complete()\t Failed to parse feed. Leave with error code=%d", parserErr); |
593 DP1("CFeedEngine::Complete()\t Failed to parse feed. Leave with error code=%d", parserErr); |
594 } |
594 } |
595 else |
595 |
596 { |
|
597 iPodcastModel.ShowEngine().DeleteOldShowsByFeedL(iActiveFeed->Uid()); |
|
598 } |
|
599 |
|
600 // delete the downloaded XML file as it is no longer needed |
596 // delete the downloaded XML file as it is no longer needed |
601 BaflUtils::DeleteFile(iPodcastModel.FsSession(),iUpdatingFeedFileName); |
597 BaflUtils::DeleteFile(iPodcastModel.FsSession(),iUpdatingFeedFileName); |
602 |
598 |
603 // if the feed has specified a image url. download it if we dont already have it |
599 // if the feed has specified a image url. download it if we dont already have it |
604 if((iActiveFeed->ImageUrl().Length() > 0)) |
600 if((iActiveFeed->ImageUrl().Length() > 0)) |