X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmails%2Fbeg_mails.php;h=d319f3e8f956a04801037f7163c91d08f198f5a3;hp=a773063f8e15132753a5a066fb503edc679888ec;hb=1ba8d9449de1b6fea32e88d581fb7c121b0522b1;hpb=175b3f506e193d8d791ec6523db42276e296dd0b;ds=sidebyside diff --git a/inc/mails/beg_mails.php b/inc/mails/beg_mails.php index a773063f8e..d319f3e8f9 100644 --- a/inc/mails/beg_mails.php +++ b/inc/mails/beg_mails.php @@ -77,18 +77,8 @@ switch (getBegRallye()) { } // END - switch if (!empty($sql)) { - // Init additional WHERE statement - $whereStatement = ''; - - // Is ext-holiday installed? - // @TODO Rewrite these if() blocks to a filter - if (isExtensionActive('holiday')) { - // Exclude those as well - $whereStatement .= " AND `d`.`holiday_active`='N'"; - } // END - if - // The SQL command needs to be finisched here (only confirmed accounts!) - $sql .= ')' . $whereStatement . runFilterChain('user_exclusion_sql', " AND `d`.`status`='CONFIRMED'") . ' ORDER BY `d`.`last_online` ASC'; + $sql .= ')' . runFilterChain('user_exclusion_sql', " AND `d`.`status`='CONFIRMED'") . ' ORDER BY `d`.`last_online` ASC'; // No IP locking setuped by default $content['ip_locker'] = '{--BEG_NO_LIMITATION--}';