And lets not change behaviour with the log flush change..
Tomas Doran [Tue, 10 Nov 2009 21:41:27 +0000 (21:41 +0000)]
lib/Catalyst.pm

index 46a2457..d681c90 100644 (file)
@@ -1178,6 +1178,7 @@ EOF
     # Should be the last thing we do so that user things hooking
     # setup_finalize can log..
     $class->log->_flush() if $class->log->can('_flush');
+    return 1; # Explicit return true as people have __PACKAGE__->setup as the last thing in their class. HATE.
 }