From 51b81901bcd0ec1f5f14779409f2ece6ad06d36b Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 9 Jul 2014 19:55:02 -0700 Subject: [PATCH] CRM-14949 - Replace {$timeGenerated} with {$smarty.now} --- CRM/Core/Page/AJAX.php | 1 - templates/CRM/common/localization.js.tpl | 2 +- templates/CRM/common/navigation.js.tpl | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CRM/Core/Page/AJAX.php b/CRM/Core/Page/AJAX.php index 4de7604307..b9ea566d03 100644 --- a/CRM/Core/Page/AJAX.php +++ b/CRM/Core/Page/AJAX.php @@ -206,7 +206,6 @@ class CRM_Core_Page_AJAX { */ static function returnDynamicJS($tplFile, $vars = array()) { $smarty = CRM_Core_Smarty::singleton(); - $vars += array('timeGenerated' => date('d M Y H:i:s')); foreach ($vars as $name => $val) { $smarty->assign($name, $val); } diff --git a/templates/CRM/common/localization.js.tpl b/templates/CRM/common/localization.js.tpl index 4f5982cc19..1edeffa6c8 100644 --- a/templates/CRM/common/localization.js.tpl +++ b/templates/CRM/common/localization.js.tpl @@ -23,7 +23,7 @@ | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *}// http://civicrm.org/licensing -//