diff options
author | Fabian Becker <halfdan@xnorfz.de> | 2013-04-06 22:36:01 +0400 |
---|---|---|
committer | Fabian Becker <halfdan@xnorfz.de> | 2013-04-06 22:36:01 +0400 |
commit | cd4308103ca7f497ee85495c41e649e956afae51 (patch) | |
tree | 21748f07f365573bf755fba8b6177ca6489b1bc3 /core/SmartyPlugins/modifier.stripeol.php | |
parent | 7920c2c56c4be2444c9f650bd8abb7b5cb5fd2ce (diff) |
Remove Smarty plugins
Diffstat (limited to 'core/SmartyPlugins/modifier.stripeol.php')
-rw-r--r-- | core/SmartyPlugins/modifier.stripeol.php | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/core/SmartyPlugins/modifier.stripeol.php b/core/SmartyPlugins/modifier.stripeol.php deleted file mode 100644 index 754ce4df06..0000000000 --- a/core/SmartyPlugins/modifier.stripeol.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -/** - * Piwik - Open source web analytics - * - * @link http://piwik.org - * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later - * - * @category Piwik - * @package SmartyPlugins - */ - -/** - * Smarty stripeol modifier plugin - * - * Type: modifier<br> - * Name: stripeol<br> - * Purpose: Replace all end-of-line characters with platform specific string.<br> - * Example: {$var|stripeol} - * Date: March 10th, 2010 - * - * @param string - * @param string - * @return string - */ -function smarty_modifier_stripeol($text) -{ - return preg_replace('!(\r\n|\r|\n)!', PHP_EOL, $text); -} - -/* vim: set expandtab: */ |