git://git.camperquake.de
/
videosite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62753a3
)
libvideosite: use helper functions for _init_config_items
author
Ralf Ertzinger
<ralf@skytale.net>
Tue, 30 Apr 2013 16:33:31 +0000
(18:33 +0200)
committer
Ralf Ertzinger
<ralf@skytale.net>
Tue, 30 Apr 2013 16:33:31 +0000
(18:33 +0200)
libvideosite.pm
patch
|
blob
|
history
diff --git
a/libvideosite.pm
b/libvideosite.pm
index
38aba57
..
ace6f81
100644
(file)
--- a/
libvideosite.pm
+++ b/
libvideosite.pm
@@
-193,8
+193,8
@@
sub _init_config_item {
my $path = shift;
my $value = shift;
- unless(
$remote_api->{config_has}->
($path)) {
-
$remote_api->{config_set}->
($path, $value);
+ unless(
_config_has
($path)) {
+
_config_set
($path, $value);
}
}