removed mods directory from the ATutor codebase
[atutor.git] / mods / phpdoc2 / PhpDocumentor / phpDocumentor / Smarty-2.6.0 / libs / plugins / modifier.count_paragraphs.php
diff --git a/mods/phpdoc2/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/plugins/modifier.count_paragraphs.php b/mods/phpdoc2/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/plugins/modifier.count_paragraphs.php
deleted file mode 100644 (file)
index 5f6278f..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php\r
-/**\r
- * Smarty plugin\r
- * @package Smarty\r
- * @subpackage plugins\r
- */\r
-\r
-\r
-/**\r
- * Smarty count_paragraphs modifier plugin\r
- *\r
- * Type:     modifier<br>\r
- * Name:     count_paragraphs<br>\r
- * Purpose:  count the number of paragraphs in a text\r
- * @link http://smarty.php.net/manual/en/language.modifier.count.paragraphs.php\r
- *          count_paragraphs (Smarty online manual)\r
- * @param string\r
- * @return integer\r
- */\r
-function smarty_modifier_count_paragraphs($string)\r
-{\r
-    // count \r or \n characters\r
-    return count(preg_split('/[\r\n]+/', $string));\r
-}\r
-\r
-/* vim: set expandtab: */\r
-\r
-?>\r