From: <var...@us...> - 2010-12-10 09:58:47
|
Revision: 7774 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7774&view=rev Author: vargenau Date: 2010-12-10 09:58:41 +0000 (Fri, 10 Dec 2010) Log Message: ----------- Remove function preg_quote (it is a standard PHP function) Modified Paths: -------------- trunk/lib/plugin/CreateToc.php Modified: trunk/lib/plugin/CreateToc.php =================================================================== --- trunk/lib/plugin/CreateToc.php 2010-12-09 19:41:24 UTC (rev 7773) +++ trunk/lib/plugin/CreateToc.php 2010-12-10 09:58:41 UTC (rev 7774) @@ -122,11 +122,6 @@ return $str; } - function preg_quote ($heading) { - return str_replace(array("/",".","?","*"), - array('\/','\.','\?','\*'), $heading); - } - // Get HTML header corresponding to current level (level is set of ! or =) function _getHeader($level) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |