libvideosite: add _config_del wrapper function
authorRalf Ertzinger <ralf@skytale.net>
Thu, 2 May 2013 16:37:46 +0000 (18:37 +0200)
committerRalf Ertzinger <ralf@skytale.net>
Thu, 2 May 2013 16:37:46 +0000 (18:37 +0200)
libvideosite.pm

index da5aefa..55dacd0 100644 (file)
@@ -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