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:
parent
23b25c141c
commit
4f0e82ee28
@ -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 (?, ?)');
|
||||
|
Loading…
x
Reference in New Issue
Block a user