mirror of
https://github.com/friendica/friendica
synced 2025-04-26 01:10:15 +00:00
Global setting for the behaviour of likes.
This commit is contained in:
parent
6504568f2e
commit
440e2d82b1
2 changed files with 8 additions and 4 deletions
|
@ -1435,7 +1435,7 @@ function item_store($arr,$force_parent = false, $notify = false, $dontcache = fa
|
|||
|
||||
// update the commented timestamp on the parent
|
||||
// Only update "commented" if it is really a comment
|
||||
if ($arr['verb'] == ACTIVITY_POST)
|
||||
if (($arr['verb'] == ACTIVITY_POST) OR !get_config("system", "like_no_comment"))
|
||||
q("UPDATE `item` SET `commented` = '%s', `changed` = '%s' WHERE `id` = %d",
|
||||
dbesc(datetime_convert()),
|
||||
dbesc(datetime_convert()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue