summaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorSimon McVittie <http://smcv.pseudorandom.co.uk/>2008-07-13 15:29:28 +0100
committerSimon McVittie <http://smcv.pseudorandom.co.uk/>2008-07-13 15:29:28 +0100
commitc588845a051da89505db9e55158783e1650ff0e2 (patch)
tree21586594be52aa5b638d02b674c58345627b23ea /IkiWiki.pm
parente41e96f8325aa4ada5b37b79812c47a8737b753c (diff)
parentf6e6d561e9d0269d8b52bf926adb3f782e777bde (diff)
Merge branch 'css'
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index f1a5f8058..d4e19c388 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -189,11 +189,6 @@ sub loadplugin ($) { #{{{
sub error ($;$) { #{{{
my $message=shift;
my $cleaner=shift;
- if ($config{cgi}) {
- print "Content-type: text/html\n\n";
- print misctemplate(gettext("Error"),
- "<p>".gettext("Error").": $message</p>");
- }
log_message('err' => $message) if $config{syslog};
if (defined $cleaner) {
$cleaner->();