mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:40:15 +00:00
Added logging
This commit is contained in:
parent
61ecdf789c
commit
b3f71d174c
1 changed files with 3 additions and 2 deletions
|
@ -67,7 +67,7 @@ class Delayed
|
|||
}
|
||||
|
||||
/**
|
||||
* Undocumented function
|
||||
* Check if an entry exists
|
||||
*
|
||||
* @param string $uri
|
||||
*
|
||||
|
@ -95,7 +95,8 @@ class Delayed
|
|||
|
||||
if (!empty($id) && (!empty($taglist) || !empty($attachments))) {
|
||||
$feeditem = Item::selectFirst(['uri-id', 'uri'], ['id' => $id]);
|
||||
self::delete($feeditem['uri']);
|
||||
$result = self::delete($feeditem['uri']);
|
||||
Logger::notice('Delayed post entry deleted', ['result' => $result, 'item' => $feeditem]);
|
||||
|
||||
foreach ($taglist as $tag) {
|
||||
Tag::store($feeditem['uri-id'], Tag::HASHTAG, $tag);
|
||||
|
|
Loading…
Reference in a new issue