From dd069124934e2e577e353f7202148517f8f74751 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Tue, 2 Jun 2015 20:34:48 +0200 Subject: [PATCH] Avoiding performance problems. --- include/items.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/items.php b/include/items.php index 87a7daea0b..9346d9f16d 100644 --- a/include/items.php +++ b/include/items.php @@ -1166,7 +1166,7 @@ function item_store($arr,$force_parent = false, $notify = false, $dontcache = fa } } } - +/* // If there is no guid then take the same guid that was taken before for the same uri if ((trim($arr['guid']) == "") AND (trim($arr['uri']) != "")) { logger('item_store: checking for an existing guid for uri '.$arr['uri'], LOGGER_DEBUG); @@ -1192,7 +1192,7 @@ function item_store($arr,$force_parent = false, $notify = false, $dontcache = fa logger('item_store: found guid '.$arr['guid'].' for plink '.$arr['plink'], LOGGER_DEBUG); } } - +*/ // Shouldn't happen but we want to make absolutely sure it doesn't leak from a plugin. // Deactivated, since the bbcode parser can handle with it - and it destroys posts with some smileys that contain "<" //if((strpos($arr['body'],'<') !== false) || (strpos($arr['body'],'>') !== false)) -- 2.39.5