mirror of
https://github.com/friendica/friendica
synced 2024-12-23 15:20:17 +00:00
Avoiding performance problems.
This commit is contained in:
parent
620455c4de
commit
dd06912493
1 changed files with 2 additions and 2 deletions
|
@ -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 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']) != "")) {
|
if ((trim($arr['guid']) == "") AND (trim($arr['uri']) != "")) {
|
||||||
logger('item_store: checking for an existing guid for uri '.$arr['uri'], LOGGER_DEBUG);
|
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);
|
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.
|
// 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 "<"
|
// 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))
|
//if((strpos($arr['body'],'<') !== false) || (strpos($arr['body'],'>') !== false))
|
||||||
|
|
Loading…
Reference in a new issue