projects
/
mailshears.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Factor out plugin running into the Plugin module (along with the includers() handling).
[mailshears.git]
/
lib
/
mv
/
mv_plugin.rb
1
module
MvPlugin
2
#
3
# Plugins for moving (renaming) users.
4
#
5
6
extend
Plugin
::Run
7
8
def self
.
runner
()
9
return
MvRunner
10
end
11
12
def self
.
dummy_runner
()
13
return
MvDummyRunner
14
end
15
16
def
mv_domain
(
from
,
to
)
17
# Rename the given domain.
18
raise
NotImplementedError
19
end
20
21
def
mv_user
(
from
,
to
)
22
# Rename the given user.
23
raise
NotImplementedError
24
end
25
26
end