command/partition: add command "delpartition"

This commit is contained in:
Max Kellermann
2020-01-20 09:10:02 +01:00
parent 9cbfa66886
commit cc7f66822e
8 changed files with 79 additions and 0 deletions

View File

@@ -103,6 +103,7 @@ static constexpr struct command commands[] = {
{ "decoders", PERMISSION_READ, 0, 0, handle_decoders },
{ "delete", PERMISSION_CONTROL, 1, 1, handle_delete },
{ "deleteid", PERMISSION_CONTROL, 1, 1, handle_deleteid },
{ "delpartition", PERMISSION_ADMIN, 1, 1, handle_delpartition },
{ "disableoutput", PERMISSION_ADMIN, 1, 1, handle_disableoutput },
{ "enableoutput", PERMISSION_ADMIN, 1, 1, handle_enableoutput },
#ifdef ENABLE_DATABASE