configDB - minor code cleanup

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5947 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2014-05-23 18:35:31 +00:00
parent 77f3dc55c8
commit 3e2312640e

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 (?, ?)');