Commit a1737be4 authored by Tilmann Becker's avatar Tilmann Becker

Ignore existing thread follower

Closes #381
parent 74327222
Pipeline #17914769 passed with stages
in 7 minutes and 24 seconds
......@@ -185,7 +185,7 @@ class ForumGateway extends BaseGateway
public function followThread($fs_id, $thread_id)
{
return $this->db->insert(
return $this->db->insertIgnore(
'fs_theme_follower',
['foodsaver_id' => $fs_id, 'theme_id' => $thread_id, 'infotype' => 1]
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment