1
0

[CLEANUP] Code formatting

This commit is contained in:
Garvin Hicking
2019-09-17 10:49:37 +02:00
parent a8344876e6
commit febbb55371
3 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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') {

View File

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