Commit 1953e633 authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[BUGFIX] Ignore sys language and storage page when sending via scheduler

parent 11183898
......@@ -48,6 +48,8 @@ class MailRepository extends AbstractRepository {
*/
public function findMailsToSend(int $limit = NULL): QueryResultInterface {
$query = $this->createQuery();
$query->getQuerySettings()->setRespectSysLanguage(FALSE);
$query->getQuerySettings()->setRespectStoragePage(FALSE);
if ($limit) {
$query->setLimit($limit);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment