From 513714f30b450e629c76a502c07648f79e1618ef Mon Sep 17 00:00:00 2001 From: bradymiller Date: Tue, 20 Aug 2013 21:10:13 -0700 Subject: [PATCH] Revert "Update shared.make_timestamp.php" This reverts commit 8a04169213088a77e0c35d0ab8a3828b5babc598. --- library/plugins/shared.make_timestamp.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/library/plugins/shared.make_timestamp.php b/library/plugins/shared.make_timestamp.php index f557c7ff8..acdd77735 100644 --- a/library/plugins/shared.make_timestamp.php +++ b/library/plugins/shared.make_timestamp.php @@ -18,15 +18,7 @@ function smarty_make_timestamp($string) if(empty($string)) { $string = "now"; } - - //the following if block catches when $string passed is already numeric - if(is_numeric($string)){ - $time=$string; - } - else{ $time = strtotime($string); - } - if (is_numeric($time) && $time != -1) return $time; -- 2.11.4.GIT