remove dependency on mongodb
[pxelator] / lib / PXElator / store.pm
index 0f691eb..159484f 100644 (file)
@@ -7,16 +7,16 @@ use POSIX;
 use Time::HiRes qw/time/;
 use Data::Dump qw(dump);
 
-use MongoDB;
-
 our $audit;
 
-eval {
-       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 {