mod_migrate: Remove unused locals

Thu, 09 Nov 2017 14:24:16 +0100

author
Kim Alvefur <zash@zash.se>
date
Thu, 09 Nov 2017 14:24:16 +0100
changeset 2816
cd9831b27746
parent 2815
d48d4d9ccae7
child 2817
f052b62c653c

mod_migrate: Remove unused locals

mod_migrate/mod_migrate.lua file | annotate | diff | comparison | revisions
--- 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

mercurial