Avoid quoting the own post

This commit is contained in:
Michael 2023-09-24 10:18:50 +00:00
parent 3e314d2fc6
commit 1dbc9bd472
6 changed files with 20 additions and 10 deletions

View file

@ -265,6 +265,11 @@ class Media
return $media;
}
if ($item['uri-id'] == $media['uri-id']) {
Logger::info('Media-Uri-Id is identical to Uri-Id', ['uri-id' => $media['uri-id']]);
return $media;
}
if (
!empty($item['plink']) && Strings::compareLink($item['plink'], $media['url']) &&
parse_url($item['plink'], PHP_URL_HOST) != parse_url($item['uri'], PHP_URL_HOST)