remove debug string
darcs-hash:20080529172258-84dde-5c413413103946838aaeed249019f168e8f5b601.gz
This commit is contained in:
parent
163e396467
commit
a8fa9eb1bd
|
@ -352,7 +352,6 @@ function common_canonical_email($email) {
|
||||||
function common_render_content($text, $notice=NULL) {
|
function common_render_content($text, $notice=NULL) {
|
||||||
$r = htmlspecialchars($text);
|
$r = htmlspecialchars($text);
|
||||||
if ($notice) {
|
if ($notice) {
|
||||||
print('Got a notice, checking for atlinks.');
|
|
||||||
$id = $notice->profile_id;
|
$id = $notice->profile_id;
|
||||||
$r = preg_replace('/\b@([\w-]+)\b/e', "ATLINK*** \\1 ***", $r);
|
$r = preg_replace('/\b@([\w-]+)\b/e', "ATLINK*** \\1 ***", $r);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user