[CLEANUP] Code formatting.

Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
Garvin Hicking 2019-09-17 10:49:37 +02:00 committed by Thomas Hochstein
parent b653ed867c
commit 9a27978179
3 changed files with 4 additions and 4 deletions
plugins/serendipity_event_spamblock
templates/2k11/admin

@ -1,7 +1,7 @@
<?php
/**
* @version
* @version
* @author Translator Name <yourmail@example.com>
* EN-Revision: Revision of lang_en.inc.php
*/

@ -1124,8 +1124,8 @@ class serendipity_event_spamblock extends serendipity_event
}
// Check for forced comment moderation (X days)
if ($addData['type'] == 'NORMAL' && $moderation_auto == true && (
( $forcemoderation == 0 ) ||
if ($addData['type'] == 'NORMAL' && $moderation_auto == true && (
( $forcemoderation == 0 ) ||
( $forcemoderation > 0 && $eventData['timestamp'] < (time() - ($forcemoderation * 60 * 60 * 24)) ) ) ) {
$this->log($logfile, $eventData['id'], $forcemoderation_treat, PLUGIN_EVENT_SPAMBLOCK_REASON_FORCEMODERATION, $addData);
if ($forcemoderation_treat == 'reject') {

@ -192,4 +192,4 @@
<pre>{$memSnaps|print_r}</pre>
</section>
{/if}
{/if}
{/if}