|
|
|
|
@ -621,7 +621,6 @@ function store_forumcategory($values, $courseInfo = [], $showMessage = true) |
|
|
|
|
'tool_id_detail' => 0, |
|
|
|
|
'action' => 'update-forumcategory', |
|
|
|
|
'action_details' => 'forumcategory', |
|
|
|
|
'current_id' => $values['forum_category_id'], |
|
|
|
|
'info' => $clean_cat_title, |
|
|
|
|
]; |
|
|
|
|
Event::registerLog($logInfo); |
|
|
|
|
@ -663,7 +662,6 @@ function store_forumcategory($values, $courseInfo = [], $showMessage = true) |
|
|
|
|
'tool_id_detail' => 0, |
|
|
|
|
'action' => 'new-forumcategory', |
|
|
|
|
'action_details' => 'forumcategory', |
|
|
|
|
'current_id' => $last_id, |
|
|
|
|
'info' => $clean_cat_title, |
|
|
|
|
]; |
|
|
|
|
Event::registerLog($logInfo); |
|
|
|
|
@ -868,7 +866,6 @@ function store_forum($values, $courseInfo = [], $returnId = false) |
|
|
|
|
'tool_id_detail' => 0, |
|
|
|
|
'action' => 'update-forum', |
|
|
|
|
'action_details' => 'forum', |
|
|
|
|
'current_id' => $values['forum_id'], |
|
|
|
|
'info' => $values['forum_title'], |
|
|
|
|
]; |
|
|
|
|
Event::registerLog($logInfo); |
|
|
|
|
@ -927,7 +924,6 @@ function store_forum($values, $courseInfo = [], $returnId = false) |
|
|
|
|
'tool_id_detail' => 0, |
|
|
|
|
'action' => 'new-forum', |
|
|
|
|
'action_details' => 'forum', |
|
|
|
|
'current_id' => $forumId, |
|
|
|
|
'info' => $values['forum_title'], |
|
|
|
|
]; |
|
|
|
|
Event::registerLog($logInfo); |
|
|
|
|
@ -2661,7 +2657,6 @@ function updateThread($values) |
|
|
|
|
'tool_id_detail' => $values['thread_id'], |
|
|
|
|
'action' => 'edit-thread', |
|
|
|
|
'action_details' => 'thread', |
|
|
|
|
'current_id' => $values['thread_id'], |
|
|
|
|
'info' => $values['thread_title'], |
|
|
|
|
]; |
|
|
|
|
Event::registerLog($logInfo); |
|
|
|
|
@ -2917,7 +2912,6 @@ function store_thread( |
|
|
|
|
'tool_id_detail' => $lastThread->getIid(), |
|
|
|
|
'action' => 'new-thread', |
|
|
|
|
'action_details' => '', |
|
|
|
|
'current_id' => $lastThread->getIid(), |
|
|
|
|
'info' => $clean_post_title, |
|
|
|
|
]; |
|
|
|
|
Event::registerLog($logInfo); |
|
|
|
|
@ -2957,7 +2951,6 @@ function store_thread( |
|
|
|
|
'tool_id_detail' => $lastThread->getIid(), |
|
|
|
|
'action' => 'new-post', |
|
|
|
|
'action_details' => '', |
|
|
|
|
'current_id' => $lastPostId, |
|
|
|
|
'info' => $clean_post_title, |
|
|
|
|
]; |
|
|
|
|
Event::registerLog($logInfo); |
|
|
|
|
@ -3766,7 +3759,6 @@ function store_reply($current_forum, $values, $courseId = 0, $userId = 0) |
|
|
|
|
'tool_id_detail' => $values['thread_id'], |
|
|
|
|
'action' => 'new-post', |
|
|
|
|
'action_details' => $values['action'], |
|
|
|
|
'current_id' => $new_post_id, |
|
|
|
|
'info' => $values['post_title'], |
|
|
|
|
]; |
|
|
|
|
Event::registerLog($logInfo); |
|
|
|
|
@ -3963,7 +3955,6 @@ function store_edit_post($forumInfo, $values) |
|
|
|
|
'tool_id_detail' => $values['thread_id'], |
|
|
|
|
'action' => 'edit-post', |
|
|
|
|
'action_details' => 'post', |
|
|
|
|
'current_id' => $values['post_id'], |
|
|
|
|
'info' => $values['post_title'], |
|
|
|
|
]; |
|
|
|
|
Event::registerLog($logInfo); |
|
|
|
|
|