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:
9b0a5db
)
libvideosite: add _config_del wrapper function
author
Ralf Ertzinger
<ralf@skytale.net>
Thu, 2 May 2013 16:37:46 +0000
(18:37 +0200)
committer
Ralf Ertzinger
<ralf@skytale.net>
Thu, 2 May 2013 16:37:46 +0000
(18:37 +0200)
libvideosite.pm
patch
|
blob
|
history
diff --git
a/libvideosite.pm
b/libvideosite.pm
index
da5aefa
..
55dacd0
100644
(file)
--- a/
libvideosite.pm
+++ b/
libvideosite.pm
@@
-319,6
+319,13
@@
sub _config_has {
return $b;
}
+sub _config_del {
+ my $path = shift;
+
+ _debug("config: removing %s", join('.', @{$path}));
+ $remote_api->{config_del}->($path);
+}
+
#
# The _config_list_* are helper functions taking a path to a comma separated
# string. The string is interpreted as a list and the action performed