Remove a superclass from DovecotMv that no longer exists.
[mailshears.git] / lib / mv / plugins / dovecot.rb
1 require 'common/filesystem'
2 require 'common/dovecot_plugin'
3 require 'mv/mv_plugin'
4
5 class DovecotMv
6
7 include DovecotPlugin
8 include MvPlugin
9
10
11 def mv_domain(from, to)
12 from_path = self.get_domain_path(from)
13 to_path = self.get_domain_path(to)
14 FileUtils.mv(from_path, to_path)
15 end
16
17 def mv_user(from, to)
18 from_path = self.get_user_path(from)
19 to_path = self.get_user_path(to)
20 FileUtils.mv(from_path, to_path)
21 end
22
23 end