Skip to content

Commit

Permalink
Item11042: Commenting dead code
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/MongoDBPlugin@12713 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
PaulHarvey authored and PaulHarvey committed Oct 5, 2011
1 parent e8c84ae commit 0300826
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Foswiki/Plugins/MongoDBPlugin/DB.pm
Expand Up @@ -393,11 +393,11 @@ sub getDatabaseName {

#using webname as database name, so we need to sanitise
#replace / with __ and pre-pend foswiki__ ?
$web =~ s/\//__/g;
#$web =~ s/\//__/g;

#remove the 'dots' too.
$web =~ s/\./__/g;
return 'foswiki__' . $web;
#$web =~ s/\./__/g;
#return 'foswiki__' . $web;
}

sub databaseExists {
Expand Down

0 comments on commit 0300826

Please sign in to comment.