mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
configDB.pm: prevent deletion of statefiles for postgresql (temporary)
git-svn-id: https://svn.fhem.de/fhem/trunk@25840 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
add2d05162
commit
0f36f77cff
@ -1283,6 +1283,12 @@ sub _cfgDB_deleteRF {
|
||||
}
|
||||
|
||||
sub _cfgDB_deleteStatefiles {
|
||||
|
||||
if ($configDB{type} eq "POSTGRESQL") {
|
||||
Log 1, "configDB: deletion of statefiles currently not supported for postgresql!";
|
||||
return;
|
||||
}
|
||||
|
||||
my $filename;
|
||||
my $fhem_dbh = _cfgDB_Connect;
|
||||
my $sth = $fhem_dbh->prepare( "SELECT filename FROM fhemb64filesave where filename like '%.fhem.save'" );
|
||||
|
Loading…
Reference in New Issue
Block a user