undo debug statements

This commit is contained in:
Mike Macgirvin 2010-09-09 02:00:54 -07:00
parent c59948f1dc
commit f1e17b1707
1 changed files with 2 additions and 3 deletions

View File

@ -233,7 +233,6 @@ function get_atom_elements($item) {
// html. // html.
echo "test1" . $res['body'];
if(strpos($res['body'],'<')) { if(strpos($res['body'],'<')) {
$res['body'] = preg_replace('#<object[^>]+>.+?' . 'http://www.youtube.com/((?:v|cp)/[A-Za-z0-9\-_=]+).+?</object>#s', $res['body'] = preg_replace('#<object[^>]+>.+?' . 'http://www.youtube.com/((?:v|cp)/[A-Za-z0-9\-_=]+).+?</object>#s',
@ -249,10 +248,10 @@ echo "test1" . $res['body'];
$purifier = new HTMLPurifier($config); $purifier = new HTMLPurifier($config);
$res['body'] = $purifier->purify($res['body']); $res['body'] = $purifier->purify($res['body']);
} }
echo "test2" . $res['body'];
$res['body'] = html2bbcode($res['body']); $res['body'] = html2bbcode($res['body']);
echo "test3" . $res['body'];
$allow = $item->get_item_tags(NAMESPACE_DFRN,'comment-allow'); $allow = $item->get_item_tags(NAMESPACE_DFRN,'comment-allow');
if($allow && $allow[0]['data'] == 1) if($allow && $allow[0]['data'] == 1)