$SQLs = array();
// Is a database link here and not in installation mode?
- if ((!SQL_IS_LINK_UP()) && (!isBooleanConstantAndTrue('mxchange_installing'))) {
+ if ((!SQL_IS_LINK_UP()) && (!isInstalling())) {
// Abort here
- addFatalMessage(getMessage('FILTER_FLUSH_FAILED_NO_DATABASE'), array($filterFunction, $filterName));
+ addFatalMessage(getMessage('FILTER_FLUSH_FAILED_NO_DATABASE'));
return false;
} // END - if
// Is it an array?
if ((!isset($data)) || (!is_array($data))) {
// Then abort here
- DEBUG_LOG(__FILE__, __LINE__, "INC_POOL is no array!");
- return $data;
+ debug_report_bug(sprintf("INC_POOL is no array! Type: %s", gettype($INC_POOL)));
} elseif (isset($data['inc_pool'])) {
// Use this as new inclusion pool!
$INC_POOL = $data['inc_pool'];