changeset 2816:cd9831b27746

mod_migrate: Remove unused locals
author Kim Alvefur <zash@zash.se>
date Thu, 09 Nov 2017 14:24:16 +0100
parents d48d4d9ccae7
children f052b62c653c
files mod_migrate/mod_migrate.lua
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_migrate/mod_migrate.lua	Thu Nov 09 13:42:35 2017 +0100
+++ b/mod_migrate/mod_migrate.lua	Thu Nov 09 14:24:16 2017 +0100
@@ -2,10 +2,9 @@
 
 local sm = require"core.storagemanager";
 local um = require"core.usermanager";
-local mm = require"core.modulemanager";
 
 function module.command(arg)
-	local host, source_stores, migrate_to, user = unpack(arg);
+	local host, source_stores, migrate_to = unpack(arg);
 	if not migrate_to then
 		return print("Usage: prosodyctl mod_migrate example.com <source-store>[-<store-type>] <target-driver> [users]*");
 	end