mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:45:16 +02:00
tweaks to reworked remote deletion, which also fixes some comment box oddities
This commit is contained in:
parent
d8cd693f11
commit
9a1e5aaf09
2 changed files with 3 additions and 3 deletions
|
@ -246,7 +246,7 @@ function dfrn_notify_post(&$a) {
|
|||
);
|
||||
if($item['last-child']) {
|
||||
// ensure that last-child is set in case the comment that had it just got wiped.
|
||||
$q("UPDATE `item` SET `last-child` = 0, `changed` = '%s' WHERE `parent-uri` = '%s' AND `uid` = %d ",
|
||||
q("UPDATE `item` SET `last-child` = 0, `changed` = '%s' WHERE `parent-uri` = '%s' AND `uid` = %d ",
|
||||
dbesc(datetime_convert()),
|
||||
dbesc($item['parent-uri']),
|
||||
intval($item['uid'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue