l10n typos & CSS fixes

This commit is contained in:
2020-04-25 17:02:24 +02:00
parent 949275f657
commit 33c320bf5c
7 changed files with 25 additions and 17 deletions

View File

@@ -20,6 +20,7 @@ class Spot extends Main
const POST_TABLE = 'posts';
const FEED_CHUNK_SIZE = 15;
const MAIL_CHUNK_SIZE = 5;
const DEFAULT_LANG = 'en';
@@ -198,7 +199,7 @@ class Spot extends Main
$oEmail->oTemplate->setInstanceTag($asPost['type'], 'local_server', $this->asContext['serv_name']);
$iPostCount++;
}
if($iPostCount==5) break;
if($iPostCount == self::MAIL_CHUNK_SIZE) break;
}
$oEmail->send();