]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/mv/mv_plugin.rb
Factor out plugin running into the Plugin module (along with the includers() handling).
[mailshears.git] / lib / mv / mv_plugin.rb
index c5647f2c92a6ecee0915fa5ab96504c3f04e615e..4b616032b5cfc312c74e790d685bf70ff167f15b 100644 (file)
@@ -1,15 +1,25 @@
 module MvPlugin
   #
 module MvPlugin
   #
-  # Plugins for moving (renaming) accounts.
+  # Plugins for moving (renaming) users.
   #
 
   #
 
-  def mv_domain(from. to)
+  extend Plugin::Run
+
+  def self.runner()
+    return MvRunner
+  end
+
+  def self.dummy_runner()
+    return MvDummyRunner
+  end
+
+  def mv_domain(from, to)
     # Rename the given domain.
     raise NotImplementedError
   end
 
     # Rename the given domain.
     raise NotImplementedError
   end
 
-  def mv_account(from, to)
-    # Rename the given account.
+  def mv_user(from, to)
+    # Rename the given user.
     raise NotImplementedError
   end
 
     raise NotImplementedError
   end