mirror of
https://github.com/friendica/friendica
synced 2025-04-29 14:24:22 +02:00
notags calls
implement removeTags function
This commit is contained in:
parent
991f259ecb
commit
a0f65ca7a1
51 changed files with 274 additions and 232 deletions
|
@ -1150,7 +1150,7 @@ class Item extends BaseObject
|
|||
private static function guid($item, $notify)
|
||||
{
|
||||
if (!empty($item['guid'])) {
|
||||
return notags(trim($item['guid']));
|
||||
return Strings::removeTags(trim($item['guid']));
|
||||
}
|
||||
|
||||
if ($notify) {
|
||||
|
@ -1265,7 +1265,7 @@ class Item extends BaseObject
|
|||
}
|
||||
|
||||
$item['guid'] = self::guid($item, $notify);
|
||||
$item['uri'] = notags(trim(defaults($item, 'uri', self::newURI($item['uid'], $item['guid']))));
|
||||
$item['uri'] = Strings::removeTags(trim(defaults($item, 'uri', self::newURI($item['uid'], $item['guid']))));
|
||||
|
||||
// Store URI data
|
||||
$item['uri-id'] = ItemURI::insert(['uri' => $item['uri'], 'guid' => $item['guid']]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue