lib/calcms: remove debug code

This commit is contained in:
Milan
2022-11-18 23:13:08 +01:00
parent 267ebb33c0
commit 9d5b154b69
31 changed files with 3 additions and 150 deletions

View File

@@ -19,20 +19,6 @@ sub error($$) {
print STDERR "missing config at log::error\n";
die();
}
#do not call template::check to avoid deep recursion!
if ( $config->{system}->{debug} ) {
template::process(
$config, 'print',
'templates/default.html',
{
static_files_url => $config->{locations}->{static_files_url},
error => $message
}
);
}
die();
}