From a66cb907ae8fb83ef41e9920de8798d4f86fe58b Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 19 May 2015 10:06:19 +0200 Subject: [PATCH] Remove dateTimeRenderer view helper The helper is no longer used anywhere. refs #6778 --- library/Icinga/Web/View/helpers/format.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/library/Icinga/Web/View/helpers/format.php b/library/Icinga/Web/View/helpers/format.php index 0e798f877..33aeb86a1 100644 --- a/library/Icinga/Web/View/helpers/format.php +++ b/library/Icinga/Web/View/helpers/format.php @@ -42,7 +42,3 @@ $this->addHelperFunction('timeUntil', function ($time, $timeOnly = false) { DateFormatter::timeUntil($time, $timeOnly) ); }); - -$this->addHelperFunction('dateTimeRenderer', function ($dateTimeOrTimestamp, $future = false) { - return DateTimeRenderer::create($dateTimeOrTimestamp, $future); -});