mirror of
https://github.com/friendica/friendica
synced 2025-04-27 17:50:17 +00:00
Don't set the pconfig values on manual mode
This commit is contained in:
parent
37d5bc1a51
commit
ec3eead034
2 changed files with 4 additions and 5 deletions
|
@ -601,7 +601,9 @@ class Feed
|
|||
}
|
||||
$publish_at = date(DateTimeFormat::MYSQL, $publish_time);
|
||||
|
||||
Post\Delayed::add($posting['item']['uri'], $posting['item'], $posting['notify'], false, $publish_at, $posting['taglist'], $posting['attachments']);
|
||||
if (Post\Delayed::add($posting['item']['uri'], $posting['item'], $posting['notify'], false, $publish_at, $posting['taglist'], $posting['attachments'])) {
|
||||
DI::pConfig()->set($item['uid'], 'system', 'last_publish', $publish_time);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue