| @@ 550-551 (lines=2) @@ | ||
| 547 | removeMessage((int) $_GET['delete']); |
|
| 548 | ||
| 549 | // Add it to the mod log. |
|
| 550 | if (allowedTo('delete_any') && (!allowedTo('delete_own') || $info[1] != $user_info['id'])) |
|
| 551 | logAction('delete', array('topic' => $info[2], 'subject' => $info[0], 'member' => $info[1], 'board' => $info[3])); |
|
| 552 | ||
| 553 | // Back to... where we are now ;). |
|
| 554 | redirectexit('action=profile;u=' . $memID . ';area=showposts;start=' . $_GET['start']); |
|
| @@ 1802-1803 (lines=2) @@ | ||
| 1799 | removeMessage($message); |
|
| 1800 | ||
| 1801 | // Log this moderation action ;). |
|
| 1802 | if (allowedTo('delete_any') && (!allowedTo('delete_own') || $info[1] != $user_info['id'])) |
|
| 1803 | logAction('delete', array('topic' => $topic, 'subject' => $info[0], 'member' => $info[1], 'board' => $board)); |
|
| 1804 | } |
|
| 1805 | ||
| 1806 | redirectexit(!empty($topicGone) ? 'board=' . $board : 'topic=' . $topic . '.' . $_REQUEST['start']); |
|