+ // 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
+