From: Tim Otten Date: Thu, 10 Jul 2014 02:55:02 +0000 (-0700) Subject: CRM-14949 - Replace {$timeGenerated} with {$smarty.now} X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=51b81901bcd0ec1f5f14779409f2ece6ad06d36b;p=civicrm-core.git CRM-14949 - Replace {$timeGenerated} with {$smarty.now} --- 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 -//