From 934ba87ce04ba1c01dad8f56af4a42673e527dd1 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 8 Aug 2014 01:22:36 +0100 Subject: [PATCH] code cleanup - remove unused var --- CRM/Core/Smarty/plugins/modifier.crmReplace.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/CRM/Core/Smarty/plugins/modifier.crmReplace.php b/CRM/Core/Smarty/plugins/modifier.crmReplace.php index d18a8d0dc6..7ecf54039e 100644 --- a/CRM/Core/Smarty/plugins/modifier.crmReplace.php +++ b/CRM/Core/Smarty/plugins/modifier.crmReplace.php @@ -47,9 +47,6 @@ * @access public */ function smarty_modifier_crmReplace($string, $attribute, $value) { - static $endOfElement = '/>'; - - // if we know what attribute we need to replace // we need to search and replace the string: $attribute=XXX or $attribute="XXX" // with $attribute=\"$value\" $pattern = '/' . $attribute . '="([^"]+?)"/'; -- 2.25.1