remove : useless code (related to bug 351)

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1275 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
chrisaga
2006-04-26 05:58:47 +00:00
parent 99fde2849d
commit e44b7975eb
-1
View File
@@ -479,7 +479,6 @@ function get_html_menu_category($categories)
*/
function parse_comment_content($content)
{
htmlentities($content,ENT_QUOTES);
$pattern = '/(https?:\/\/\S*)/';
$replacement = '<a href="$1" rel="nofollow">$1</a>';
$content = preg_replace($pattern, $replacement, $content);