mirror of
https://github.com/friendica/friendica
synced 2025-04-26 05:10:11 +00:00
Cleaned code
This commit is contained in:
parent
6c3b1ac4bd
commit
c1d1b189f7
2 changed files with 3 additions and 12 deletions
|
@ -91,10 +91,8 @@ class Delayed
|
|||
|
||||
Logger::notice('Post stored', ['id' => $id, 'uid' => $item['uid'], 'cid' => $item['contact-id']]);
|
||||
|
||||
// It should always contain an URI since this is needed to create a delayed post entry
|
||||
if (!empty($item['uri']) && self::exists($item['uri'], $item['uid'])) {
|
||||
$result = self::delete($item['uri'], $item['uid']);
|
||||
Logger::notice('Delayed post entry deleted', ['result' => $result, 'uri' => $item['uri']]);
|
||||
self::delete($item['uri'], $item['uid']);
|
||||
}
|
||||
|
||||
if (!empty($id) && (!empty($taglist) || !empty($attachments))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue