From 244ef327a99e2bc82f019ecd41826298fee51eb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=B3na=20Lore?= Date: Tue, 10 Feb 2015 13:21:32 +0100 Subject: [PATCH] Issue #877: use the terminology forum-topic rather than forum-thread --- e107_plugins/forum/forum_class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e107_plugins/forum/forum_class.php b/e107_plugins/forum/forum_class.php index 071def9bb..20862d107 100644 --- a/e107_plugins/forum/forum_class.php +++ b/e107_plugins/forum/forum_class.php @@ -628,7 +628,7 @@ class e107forum $info['_FIELD_TYPES']['thread_total_replies'] = 'cmd'; $result = $sql->update('forum_thread', $info); - e107::getEvent()->trigger('user-forum-thread-updated', $info); + e107::getEvent()->trigger('user-forum-topic-updated', $info); } if(($result || !$updateThread) && $updateForum) @@ -685,7 +685,7 @@ class e107forum $info['data'] = $threadInfo; if($newThreadId = e107::getDb()->insert('forum_thread', $info)) { - e107::getEvent()->trigger('user-forum-thread-created', $info); + e107::getEvent()->trigger('user-forum-topic-created', $info); $postInfo['post_thread'] = $newThreadId; $newPostId = $this->postAdd($postInfo, false); $this->threadMarkAsRead($newThreadId); @@ -742,7 +742,7 @@ class e107forum // $info['_FIELD_TYPES'] = $this->fieldTypes['forum_thread']; $info['WHERE'] = 'thread_id = '.(int)$threadId; e107::getDb()->update('forum_thread', $info); - e107::getEvent()->trigger('user-forum-thread-updated', $info); + e107::getEvent()->trigger('user-forum-topic-updated', $info); } @@ -1890,7 +1890,7 @@ class e107forum if($sql->delete('forum_thread', 'thread_id='.$threadId)) { $status = true; - e107::getEvent()->trigger('user-forum-thread-deleted', $threadId); + e107::getEvent()->trigger('user-forum-topic-deleted', $threadId); } //Delete any thread tracking