Empty commit

This commit is contained in:
Git 2014-07-24 08:00:41 +00:00
parent a20d5d7108
commit d47ae6eb54
2 changed files with 0 additions and 6 deletions

View File

@ -42,7 +42,6 @@
$Body = $_POST['body'];
if (!empty($LoggedUser['DisablePosting'])) {
error('Your posting privileges have been removed.');
}
@ -66,9 +65,6 @@
Subscriptions::subscribe($TopicID);
}
//Now lets handle the special case of merging posts, we can skip bumping the thread and all that fun
if ($ThreadInfo['LastPostAuthorID'] == $LoggedUser['ID'] && ((!check_perms('site_forums_double_post') && !in_array($ForumID, $ForumsDoublePost)) || isset($_POST['merge']))) {
//Get the id for this post in the database to append

View File

@ -33,7 +33,6 @@
$SQLTime = sqltime();
$DoPM = isset($_POST['pm']) ? $_POST['pm'] : 0;
// Mainly
$DB->query("
SELECT
@ -57,7 +56,6 @@
list($OldBody, $AuthorID, $TopicID, $IsLocked, $ForumID, $MinClassWrite, $Page) = $DB->next_record();
// Make sure they aren't trying to edit posts they shouldn't
// We use die() here instead of error() because whatever we spit out is displayed to the user in the box where his forum post is
if (!Forums::check_forumperm($ForumID, 'Write') || ($IsLocked && !check_perms('site_moderate_forums'))) {