Replace references of GET mod/substhread with POST item/{id}/follow

This commit is contained in:
Hypolite Petovan 2021-01-30 15:51:27 -05:00
commit 7f78d6e722
5 changed files with 19 additions and 19 deletions

View file

@ -894,7 +894,7 @@ function item_photo_menu($item) {
$ignore_link = '';
if (local_user() && local_user() == $item['uid'] && $item['gravity'] == GRAVITY_PARENT && !$item['self']) {
$sub_link = 'javascript:dosubthread(' . $item['id'] . '); return false;';
$sub_link = 'javascript:doFollowThread(' . $item['id'] . '); return false;';
}
$author = ['uid' => 0, 'id' => $item['author-id'],