summaryrefslogtreecommitdiff
path: root/pages/whats_on.ecpp
diff options
context:
space:
mode:
Diffstat (limited to 'pages/whats_on.ecpp')
-rw-r--r--pages/whats_on.ecpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/pages/whats_on.ecpp b/pages/whats_on.ecpp
index 3f12d84..039f898 100644
--- a/pages/whats_on.ecpp
+++ b/pages/whats_on.ecpp
@@ -18,10 +18,7 @@ type = "now";
cSchedulesLock schedulesLock;
const cSchedules* Schedules = cSchedules::Schedules(schedulesLock);
-if (type == "now")
- std::string head(tr("What's running now"));
-else
- std::string head(tr("What's running at")+FormatDateTime(tr("%I:%M %p"), time(0)));
+std::string head(tr("What's running at")+FormatDateTime(tr("%I:%M %p"), time(0)));
}>
<html>