]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/mv/mv_plugin.rb
Fix broken nesting in lib/mv/plugins/postfixadmin.rb.
[mailshears.git] / lib / mv / mv_plugin.rb
index 40184422fbd8f9a5601fa3a57a92632163007d47..089e6c772bc7d9ddec80db26359449aae08b2c73 100644 (file)
@@ -3,24 +3,17 @@ module MvPlugin
   # Plugins for moving (renaming) users.
   #
 
-  def MvPlugin.included(c)
-    # Callback, called whenever another class or module includes this
-    # one. The parameter given is the name of the class or module
-    # that included us.
-    @includers ||= []
-    @includers << c
-  end
+  extend Plugin::Run
 
-  def MvPlugin.includers
-    return @includers
+  def self.runner()
+    return MvRunner
   end
 
-  def mv_domain(from, to)
-    # Rename the given domain.
-    raise NotImplementedError
+  def self.dummy_runner()
+    return MvDummyRunner
   end
 
-  def mv_user(from, to)
+  def mv_user(src, dst)
     # Rename the given user.
     raise NotImplementedError
   end