]>
gitweb.michael.orlitzky.com - mailshears.git/blob - lib/mv/plugins/dovecot.rb
b1dc598b013b6207d685c296b87ec64aff051d65
1 require 'common/filesystem'
2 require 'common/dovecot_plugin'
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
)
18 from_path
= self.get_user_path(from
)
19 to_path
= self.get_user_path(to
)
20 FileUtils
.mv(from_path
, to_path
)