X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Ffilters.php;h=239d9048c122537fc62ad0e6d9cfe67b10feb4b6;hb=eb3e924768678719afc1bfaffb69354c407daa5b;hp=7fba80252b32a099718e499c36eca6812509cdd0;hpb=175b3f506e193d8d791ec6523db42276e296dd0b;p=mailer.git diff --git a/inc/filters.php b/inc/filters.php index 7fba80252b..239d9048c1 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -711,25 +711,6 @@ function FILTER_FLUSH_OUTPUT () { outputHtml(); } -// Prepares an SQL statement part for HTML mail and/or holiday dependency -function FILTER_HTML_INCLUDE_USERS ($mode) { - // Exclude no users by default - $MORE = ''; - - // HTML mail? - if ($mode == 'html') { - $MORE = " AND `html`='Y'"; - } // END - if - - if (isExtensionInstalledAndNewer('holiday', '0.1.3')) { - // Add something for the holiday extension - $MORE .= " AND `holiday_active`='N'"; - } // END - if - - // Return result - return $MORE; -} - // Filter for determining what/action/module function FILTER_DETERMINE_WHAT_ACTION () { // In installation phase we don't have what/action