rev 1882 - trunk/buscador/lib

[prev] [thread] [next] [lurker] [Date index for 2005/02/15]

From: simon
Subject: rev 1882 - trunk/buscador/lib
Date: 12:15 on 15 Feb 2005
Author: simon
Date: 2005-02-15 12:15:11 +0000 (Tue, 15 Feb 2005)
New Revision: 1882

Modified:
   trunk/buscador/lib/Buscador.pm
Log:
As per RichardC's suggestion


Modified: trunk/buscador/lib/Buscador.pm
===================================================================
--- trunk/buscador/lib/Buscador.pm	2005-02-15 12:12:16 UTC (rev 1881)
+++ trunk/buscador/lib/Buscador.pm	2005-02-15 12:15:11 UTC (rev 1882)
@@ -7,15 +7,15 @@
 $VERSION = "0.1";
 
 #use Maypole::Cache;
+use Buscador::Config;
 Buscador->config->{cache_options}{class} = "Cache::FileCache";
 
 use Maypole::Constants;
 our $home;
-sub debug{0}
+sub debug() {0}
 
 BEGIN { 
     require Email::Store;
-    use Buscador::Config;
 
     Email::Store->import(Buscador::Config->dsn, verbose => 1 );
 
@@ -34,11 +34,13 @@
                       grep { !/SUPER$/ } 
                       grep { $_->can("table") } 
                       Buscador->stores;
+
+
     
     # not needed any more
-    # my @setup =  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 /;
+    #@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 ]); 

Generated at 13:00 on 15 Feb 2005 by mariachi 0.52