| @@ 526-527 (lines=2) @@ | ||
| 523 | removeMessage((int) $_GET['delete']); |
|
| 524 | ||
| 525 | // Add it to the mod log. |
|
| 526 | if (allowedTo('delete_any') && (!allowedTo('delete_own') || $info[1] != $user_info['id'])) |
|
| 527 | logAction('delete', array('topic' => $info[2], 'subject' => $info[0], 'member' => $info[1], 'board' => $info[3])); |
|
| 528 | ||
| 529 | // Back to... where we are now ;). |
|
| 530 | redirectexit('action=profile;u=' . $memID . ';area=showposts;start=' . $_GET['start']); |
|
| @@ 1884-1885 (lines=2) @@ | ||
| 1881 | removeMessage($message); |
|
| 1882 | ||
| 1883 | // Log this moderation action ;). |
|
| 1884 | if (allowedTo('delete_any') && (!allowedTo('delete_own') || $info[1] != $user_info['id'])) |
|
| 1885 | logAction('delete', array('topic' => $topic, 'subject' => $info[0], 'member' => $info[1], 'board' => $board)); |
|
| 1886 | } |
|
| 1887 | ||
| 1888 | redirectexit(!empty($topicGone) ? 'board=' . $board : 'topic=' . $topic . '.' . $_REQUEST['start']); |
|