mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 11:16:36 +00:00
configDB - removed no longer needed code parts
git-svn-id: https://svn.fhem.de/fhem/trunk@5892 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3c2b7212d5
commit
d668f4d43c
@ -80,6 +80,8 @@
|
|||||||
#
|
#
|
||||||
# 2014-05-12 - added sorted write & read for config data
|
# 2014-05-12 - added sorted write & read for config data
|
||||||
#
|
#
|
||||||
|
# 2014-05-15 - fixed handling of multiline defs
|
||||||
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#
|
#
|
||||||
|
|
||||||
@ -909,21 +911,6 @@ sub _cfgDB_Move() {
|
|||||||
#
|
#
|
||||||
#######################################
|
#######################################
|
||||||
|
|
||||||
# deprecated - replaced by cfgDB_FileRead()
|
|
||||||
sub _cfgDB_Readfile($) {
|
|
||||||
my ($filename) = @_;
|
|
||||||
my @outfile = cfgDB_FileRead($filename);
|
|
||||||
return (int(@outfile)) ? join("\n",@outfile) : undef;
|
|
||||||
}
|
|
||||||
|
|
||||||
# deprecated - replaced by cfgDB_FileWrite()
|
|
||||||
sub _cfgDB_Writefile($$) {
|
|
||||||
my ($filename,$content) = @_;
|
|
||||||
my @c = split(/\n/,$content);
|
|
||||||
cfgDB_FileWrite($filename,@c);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
# deprecated - replaced by cfgDB_FileUpdate()
|
# deprecated - replaced by cfgDB_FileUpdate()
|
||||||
sub _cfgDB_Updatefile($) {
|
sub _cfgDB_Updatefile($) {
|
||||||
my ($filename) = @_;
|
my ($filename) = @_;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user