1
1
Fork 0

Removed some test code

This commit is contained in:
Michael Vogel 2016-01-15 23:32:13 +01:00
commit 092c2e5433
3 changed files with 5 additions and 13 deletions

View file

@ -1415,8 +1415,6 @@ function prepare_body(&$item,$attach = false, $preview = false) {
$item['hashtags'] = $hashtags;
$item['mentions'] = $mentions;
$test = $item["rendered-html"];
// Update the cached values if there is no "zrl=..." on the links
$update = (!local_user() and !remote_user() and ($item["uid"] == 0));
@ -1427,9 +1425,6 @@ function prepare_body(&$item,$attach = false, $preview = false) {
put_item_in_cache($item, $update);
$s = $item["rendered-html"];
//if ($test != $s)
// $s .= "<hr>*********************************<hr>".$test;
$prep_arr = array('item' => $item, 'html' => $s, 'preview' => $preview);
call_hooks('prepare_body', $prep_arr);
$s = $prep_arr['html'];