2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-04 01:53:19 +00:00

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 23b25c141c
commit 4f0e82ee28

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