mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 10:46:53 +00:00
configDB - added cfgDB_AttrRead() to become more generic
git-svn-id: https://svn.fhem.de/fhem/trunk@5665 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
30739de228
commit
d912dd4da0
@ -176,7 +176,8 @@ sub cfgDB_Init {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# read and set attributes for 'global'
|
# read and set attributes for 'global'
|
||||||
sub cfgDB_AttrRead {
|
sub cfgDB_AttrRead($) {
|
||||||
|
my ($readSpec) = @_;
|
||||||
my($row, @line,@rets);
|
my($row, @line,@rets);
|
||||||
my $fhem_dbh = _cfgDB_Connect;
|
my $fhem_dbh = _cfgDB_Connect;
|
||||||
my $uuid = $fhem_dbh->selectrow_array('SELECT versionuuid FROM fhemversions WHERE version = 0');
|
my $uuid = $fhem_dbh->selectrow_array('SELECT versionuuid FROM fhemversions WHERE version = 0');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user