aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/DatabaseCommands.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/DatabaseCommands.cxx')
-rw-r--r--src/command/DatabaseCommands.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/command/DatabaseCommands.cxx b/src/command/DatabaseCommands.cxx
index 4fbae95ec..bfcf3aa54 100644
--- a/src/command/DatabaseCommands.cxx
+++ b/src/command/DatabaseCommands.cxx
@@ -52,11 +52,8 @@ handle_listfiles_db(Client &client, Response &r, const char *uri)
}
CommandResult
-handle_lsinfo2(Client &client, Request args, Response &r)
+handle_lsinfo2(Client &client, const char *uri, Response &r)
{
- /* default is root directory */
- const auto uri = args.GetOptional(0, "");
-
const DatabaseSelection selection(uri, false);
Error error;