remove dependency on mongodb
[pxelator] / lib / PXElator / store.pm
index 6624c64..159484f 100644 (file)
@@ -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 {