// Destroy cache here
// @TODO Rewrite this to a filter
- if ((getOutputMode() == '0') || (getOutputMode() == -1)) rebuildCache('modules', 'modules');
+ if ((getScriptOutputMode() == '0') || (getScriptOutputMode() == -1)) rebuildCache('modules', 'modules');
// And reload data
unset($GLOBALS['module_status'][$module]);
// Module not found we don't add it to the database
$ret = '404';
}
- } elseif (($ret == 'cache_miss') && (getOutputMode() == '0')) {
+ } elseif (($ret == 'cache_miss') && (getScriptOutputMode() == '0')) {
// Rebuild the cache files
rebuildCache('modules', 'modules');
} elseif ($found === false) {
$data['hidden'],
$data['mem_only'],
$data['admin_only'],
- getOutputMode()
+ getScriptOutputMode()
));
}