]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/mv/mv_plugin.rb
Remove mv_domain() from MvPlugin.
[mailshears.git] / lib / mv / mv_plugin.rb
index 958f6d40f98d0fd3d3cfdb76d24000c6fcd7b844..29f697c2da028275af40fa3da8f031d5af254592 100644 (file)
@@ -3,31 +3,16 @@ 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
-
-  def MvPlugin.includers
-    return @includers
-  end
+  extend Plugin::Run
 
-  def runner()
+  def self.runner()
     return MvRunner
   end
 
-  def dummy_runner()
+  def self.dummy_runner()
     return MvDummyRunner
   end
 
-  def mv_domain(from, to)
-    # Rename the given domain.
-    raise NotImplementedError
-  end
-
   def mv_user(from, to)
     # Rename the given user.
     raise NotImplementedError