[prev] [thread] [next] [lurker] [Date index for 2005/02/23]
Author: richardc Date: 2005-02-23 11:25:58 +0000 (Wed, 23 Feb 2005) New Revision: 1949 Modified: trunk/buscador/lib/Buscador.pm Log: if its a comment of something you don't have to do, then vcs is a pretty good place to keep it Modified: trunk/buscador/lib/Buscador.pm =================================================================== --- trunk/buscador/lib/Buscador.pm 2005-02-22 11:38:30 UTC (rev 1948) +++ trunk/buscador/lib/Buscador.pm 2005-02-23 11:25:58 UTC (rev 1949) @@ -24,13 +24,12 @@ { RaiseError => 1, AutoCommit => 1 }); use Module::Pluggable search_path => [ "Email::Store" ], sub_name => 'stores', require => 1; - use Module::Pluggable::Ordered search_path => [ "Buscador" ]; + use Module::Pluggable::Ordered search_path => [ "Buscador" ]; $home = Buscador::Config->home; Buscador->config->{cache_options}{class} = "Cache::FileCache"; Buscador->config->{model} = "Maypole::Model::CDBI::Plain"; - # this is a bit of an egregious hack # perhaps plugins should specifically state whether they # are capable of being set up or not @@ -39,16 +38,8 @@ grep { $_->can("table") } Buscador->stores; - - - # not needed any more - #@stores = sort qw/ Email::Store::Mail Email::Store::List Email::Store::Date - #Email::Store::Entity Email::Store::Entity::Name Email::Store::Attachment - #Email::Store::Entity::Address Email::Store::NamedEntity Email::Store::Vote /; - - Buscador->setup([ @stores ]); -}; +} Buscador->config->{rows_per_page} = 10; Buscador->config->{template_root} = "$home/templates";
Generated at 16:00 on 23 Feb 2005 by mariachi 0.52