diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-05-20 18:46:23 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-05-20 18:46:23 -0700 |
commit | 6466774b6e6ed72ea1cc57cbc76e451205934aca (patch) | |
tree | de1b5415812e3cc9b9ee8d1e7d481dd9bc26cc8f /include/text.php | |
parent | fe00d29047da1cb99cbc06af938268ec9e6a8fcb (diff) | |
download | volse-hubzilla-6466774b6e6ed72ea1cc57cbc76e451205934aca.tar.gz volse-hubzilla-6466774b6e6ed72ea1cc57cbc76e451205934aca.tar.bz2 volse-hubzilla-6466774b6e6ed72ea1cc57cbc76e451205934aca.zip |
PRIVACY: possible privacy leakage under a defined set of circumstances
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/text.php b/include/text.php index 6ed06e92a..d483424ec 100644 --- a/include/text.php +++ b/include/text.php @@ -1379,12 +1379,8 @@ function generate_named_map($location) { function prepare_body(&$item,$attach = false) { - if(get_config('system','item_cache') && $item['html']) - return $item['html']; - call_hooks('prepare_body_init', $item); - unobscure($item); $s = prepare_text($item['body'],$item['mimetype']); @@ -1452,12 +1448,6 @@ function prepare_body(&$item,$attach = false) { $prep_arr = array('item' => $item, 'html' => $s); call_hooks('prepare_body_final', $prep_arr); - if(get_config('system','item_cache')) - q("update item set html = '%s' where id = %d", - dbesc($prep_arr['html']), - intval($item['id']) - ); - return $prep_arr['html']; } |