configDB - minor code cleanup

git-svn-id: https://svn.fhem.de/fhem/trunk@5947 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2014-05-23 18:35:31 +00:00
parent c7d07cb17b
commit 54438babdf

View File

@@ -284,7 +284,7 @@ sub cfgDB_FileRead($) {
}
sub cfgDB_FileWrite($@) {
my ($filename,@content) = @_;
chomp(@content) if($filename =~ m/.gplot$/);
# chomp(@content) if($filename =~ m/.gplot$/);
my $fhem_dbh = _cfgDB_Connect;
$fhem_dbh->do("delete from fhembinfilesave where filename = '$filename'");
my $sth = $fhem_dbh->prepare('INSERT INTO fhembinfilesave values (?, ?)');