Replace references of GET mod/substhread with POST item/{id}/follow
This commit is contained in:
parent
15e9f219e7
commit
7f78d6e722
5 changed files with 19 additions and 19 deletions
|
@ -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'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue