diff mod_migrate/mod_migrate.lua @ 2816:cd9831b27746

mod_migrate: Remove unused locals
author Kim Alvefur <zash@zash.se>
date Thu, 09 Nov 2017 14:24:16 +0100
parents fd4a5ba12fa2
children 611ac62c5b63
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