From: Ralf Ertzinger Date: Thu, 2 May 2013 16:37:46 +0000 (+0200) Subject: libvideosite: add _config_del wrapper function X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=videosite.git;a=commitdiff_plain;h=2aeee8280846afb6cdad3af3149e83cce27bdad9 libvideosite: add _config_del wrapper function --- diff --git a/libvideosite.pm b/libvideosite.pm index da5aefa..55dacd0 100644 --- 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