X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fmv%2Fmv_plugin.rb;h=29f697c2da028275af40fa3da8f031d5af254592;hp=2ccb9a388572acedcb3dbb67bc36120f06381347;hb=8a3e804a4c5f33bee1d80243be6b139e45f07a48;hpb=a6ae98f0423603445b621a8eaa17443c8d590b45 diff --git a/lib/mv/mv_plugin.rb b/lib/mv/mv_plugin.rb index 2ccb9a3..29f697c 100644 --- a/lib/mv/mv_plugin.rb +++ b/lib/mv/mv_plugin.rb @@ -1,27 +1,20 @@ module MvPlugin # - # Plugins for moving (renaming) accounts. + # 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_account(from, to) - # Rename the given account. + def mv_user(from, to) + # Rename the given user. raise NotImplementedError end