configDB - added cfgDB_AttrRead() to become more generic

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5665 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2014-04-26 10:01:52 +00:00
parent d0a000e1ae
commit 3d329dd26d

View File

@@ -176,7 +176,8 @@ sub cfgDB_Init {
}
# read and set attributes for 'global'
sub cfgDB_AttrRead {
sub cfgDB_AttrRead($) {
my ($readSpec) = @_;
my($row, @line,@rets);
my $fhem_dbh = _cfgDB_Connect;
my $uuid = $fhem_dbh->selectrow_array('SELECT versionuuid FROM fhemversions WHERE version = 0');