瀏覽代碼

Left some testing stuff in.

Signed-off-by: Jeremy D <[email protected]>
Jeremy D 10 年之前
父節點
當前提交
a6d8acd902
共有 1 個文件被更改,包括 0 次插入15 次删除
  1. 0 15
      Sources/Subs-Post.php

+ 0 - 15
Sources/Subs-Post.php

@@ -278,21 +278,6 @@ function un_preparsecode($message)
 	return preg_replace('~<br( /)?' . '>~', "\n", str_replace('&nbsp;', ' ', implode('', $parts)));
 }
 
-function un_preparsecodeCallback($matches)
-{
-			return '[html]' .
-				strtr(
-					htmlspecialchars('$matches[1]', ENT_QUOTES),
-					array(
-						'\\&quot;' => '&quot;',
-						'&amp;#13;' => '<br />',
-						'&amp;#32;' => ' ',
-						'&amp;#91;' => '[',
-						'&amp;#93;' => ']'
-					)
-				) . '[/html]';
-}
-
 /**
  * Fix any URLs posted - ie. remove 'javascript:'.
  * Used by preparsecode, fixes links in message and returns nothing.