2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +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:
betateilchen 2014-04-26 10:01:52 +00:00
parent 30739de228
commit d912dd4da0

View File

@ -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');