mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
:debug version
git-svn-id: https://svn.fhem.de/fhem/trunk@25727 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dbc1a5ec42
commit
4b42ffa70a
@ -1288,7 +1288,8 @@ sub _cfgDB_deleteStatefiles {
|
|||||||
$sth->execute();
|
$sth->execute();
|
||||||
while ($filename = $sth->fetchrow_array()) {
|
while ($filename = $sth->fetchrow_array()) {
|
||||||
my $uuid = substr($filename,0,32);
|
my $uuid = substr($filename,0,32);
|
||||||
my $found = $fhem_dbh->selectrow_array("SELECT versionuuid FROM fhemversions WHERE versionuuid = '$uuid'");
|
my $found = "";
|
||||||
|
$found = $fhem_dbh->selectrow_array("SELECT versionuuid FROM fhemversions WHERE versionuuid = '$uuid'");
|
||||||
unless ($uuid eq $found) {
|
unless ($uuid eq $found) {
|
||||||
$fhem_dbh->do("delete from fhemb64filesave where filename = '$filename'");
|
$fhem_dbh->do("delete from fhemb64filesave where filename = '$filename'");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user