fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-10-30 03:56 am

[dw-free] Backed out changeset e8fd7995c10e.

[commit: http://hg.dwscoalition.org/dw-free/rev/c9942c930d1c]

Backed out changeset e8fd7995c10e.

Dre points out that this brings us back to Class Autouse, which we're trying
to move away from. (There's other ways to fix this, so I'm backing out the
changeset before we lose it).

Files modified:
  • cgi-bin/DW/Routing.pm
--------------------------------------------------------------------------------
diff -r e8fd7995c10e -r c9942c930d1c cgi-bin/DW/Routing.pm
--- a/cgi-bin/DW/Routing.pm	Fri Oct 29 13:56:42 2010 +0800
+++ b/cgi-bin/DW/Routing.pm	Sat Oct 30 11:55:35 2010 +0800
@@ -38,7 +38,7 @@ my $default_content_types = {
     'png' => "image/png",
 };
 
-LJ::ModuleLoader->autouse_subclasses( "DW::Controller" )
+LJ::ModuleLoader->require_subclasses( "DW::Controller" )
     unless $DW::Routing::DONT_LOAD;  # for testing
 
 =head1 NAME
--------------------------------------------------------------------------------