diff options
author | Edmund von der Burg <evdb@mysociety.org> | 2011-02-28 10:21:27 +0000 |
---|---|---|
committer | Edmund von der Burg <evdb@mysociety.org> | 2011-02-28 10:21:27 +0000 |
commit | 5d71bc09c4149a19b0e6f03d37b26eab1ad48b2d (patch) | |
tree | 3d8575bba543e4c6df405f9621bcaa07002d9e16 | |
parent | e2a157cd05422c8eedfdc6a57686a5c0ca0790d4 (diff) |
Remove cruft relating to config loading
-rw-r--r-- | perllib/FixMyStreet/App.pm | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm index 929889fbd..6282e58b6 100644 --- a/perllib/FixMyStreet/App.pm +++ b/perllib/FixMyStreet/App.pm @@ -8,24 +8,13 @@ use FixMyStreet::Cobrand; use Memcached; use Problems; -use Catalyst qw/ - ConfigLoader - Static::Simple - /; +use Catalyst # + 'Static::Simple'; extends 'Catalyst'; our $VERSION = '0.01'; -# Configure the application. -# -# Note that settings in fixmystreet_app.conf (or other external -# configuration file that you set up manually) take precedence -# over this when using ConfigLoader. Thus configuration -# details given here can function as a default configuration, -# with an external configuration file acting as an override for -# local deployment. - __PACKAGE__->config( # get the config from the core object @@ -47,7 +36,8 @@ __PACKAGE__->config( __PACKAGE__->setup(); # disable debug logging unless in debaug mode -__PACKAGE__->log->disable('debug') unless __PACKAGE__->debug; +__PACKAGE__->log->disable('debug') # + unless __PACKAGE__->debug; =head1 NAME |