X-Git-Url: http://git.rot13.org/?p=pxelator;a=blobdiff_plain;f=lib%2FPXElator%2Fstore.pm;h=159484ff6c2812e77bc02a9ccc632fd19b327af9;hp=6624c645a7327aade67cc2533ab1341ee3221726;hb=ec4a3f84fc62a282412fe10126dc4e3d1e4a1a4c;hpb=25eee9ed21ee84902348e85d48812d6a3c6c9c93 diff --git a/lib/PXElator/store.pm b/lib/PXElator/store.pm index 6624c64..159484f 100644 --- a/lib/PXElator/store.pm +++ b/lib/PXElator/store.pm @@ -9,14 +9,14 @@ use Data::Dump qw(dump); our $audit; -eval { - require MongoDB; - - my $conn = MongoDB::Connection->new; - my $db = $conn->get_database( 'pxelator' ); - $audit = $db->get_collection( 'audit' ); -}; -warn "ERROR: no store for audit: $@" if $@; +#eval { +# require MongoDB; +# +# my $conn = MongoDB::Connection->new; +# my $db = $conn->get_database( 'pxelator' ); +# $audit = $db->get_collection( 'audit' ); +#}; +#warn "ERROR: no store for audit: $@" if $@; sub audit {