diff options
author | Frank Neumann <fnu@yavdr.org> | 2017-05-07 15:57:26 +0200 |
---|---|---|
committer | Frank Neumann <fnu@yavdr.org> | 2017-05-07 15:57:26 +0200 |
commit | 8905334e795a299f332395b92faaa5560b2d4c7f (patch) | |
tree | 547ddad686a9cd3c6a5b77d8dd47448319fe3b63 /services.c | |
parent | 708819a7b5653f2d66c7fb17baba2c7a081a47a7 (diff) | |
download | vdr-plugin-epgsearch-8905334e795a299f332395b92faaa5560b2d4c7f.tar.gz vdr-plugin-epgsearch-8905334e795a299f332395b92faaa5560b2d4c7f.tar.bz2 |
Drop legacy code prior VDR 2.3.x
Diffstat (limited to 'services.c')
-rw-r--r-- | services.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -145,24 +145,16 @@ std::list<std::string> cEpgsearchServiceHandler::TranslateResults(cSearchResults eTimerMatch timerMatch; bool hasTimer = false; -#if VDRVERSNUM > 20300 LOCK_TIMERS_READ; const cTimers *vdrtimers = Timers; -#else - cTimers *vdrtimers = &Timers; -#endif if (vdrtimers->GetMatch(pEvent, &timerMatch)) hasTimer = (timerMatch == tmFull); if (!result->search->useAsSearchTimer) result->needsTimer = false; -#if VDRVERSNUM > 20300 LOCK_CHANNELS_READ; const cChannels *vdrchannels = Channels; -#else - cChannels *vdrchannels = &Channels; -#endif const cChannel *channel = vdrchannels->GetByChannelID(pEvent->ChannelID(), true, true); int timerMode = hasTimer?1:(result->needsTimer?2:0); |