X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;h=6bc7e3d60e844829216e7af358110c9b6d2fe020;hb=31213ebcb811c9c11e004ebefac1f6f9aca2ea3d;hp=f9cae7ab2aecfab5a03b13d5403cb29212fc51c6;hpb=cae5df2cd085e4e4e2a1aca25e9842df4ea1519f;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index f9cae7a..6bc7e3d 100755 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -1256,7 +1256,7 @@ EOF # Turn autoflush back off once setup is finished. # TODO: this is being done purely for Static::Simple (legacy API), and has been suggested by # mst to be removed and require/update Static::Simple to set this flag itself - $class->log->autoflush(0) if ($class->log->can('autoflush')); + $class->log->autoflush(undef) if ($class->log->can('autoflush')); return $class || 1; # Just in case someone named their Application 0... }