diff options
author | robocoder <anthon.pang@gmail.com> | 2010-03-13 22:25:36 +0300 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2010-03-13 22:25:36 +0300 |
commit | f0ef850a47b36a954cb74e7dee0d1743f0eeeb34 (patch) | |
tree | ec44934cf5562ab9eb3cd38f474f23a81fe38977 /core/SmartyPlugins/modifier.stripeol.php | |
parent | 36921f47359b1d9d7b69f9a145f8f4d6a755b4bb (diff) |
revert [1909]
git-svn-id: http://dev.piwik.org/svn/trunk@1910 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/SmartyPlugins/modifier.stripeol.php')
-rw-r--r-- | core/SmartyPlugins/modifier.stripeol.php | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/core/SmartyPlugins/modifier.stripeol.php b/core/SmartyPlugins/modifier.stripeol.php deleted file mode 100644 index d9e70f810d..0000000000 --- a/core/SmartyPlugins/modifier.stripeol.php +++ /dev/null @@ -1,32 +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 - * @version $Id$ - * - * @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 - * @author anthon (at) piwik.org - * @version 1.0 - * @param string - * @param string - * @return string - */ -function smarty_modifier_stripeol($text) -{ - return preg_replace('!(\r\n|\r|\n)!', PHP_EOL, $text); -} - -/* vim: set expandtab: */ |