require 'common/filesystem'
-require 'common/mailstore'
require 'common/dovecot_plugin'
require 'mv/mv_plugin'
-class DovecotMv < Mailstore
+class DovecotMv
include DovecotPlugin
include MvPlugin
FileUtils.mv(from_path, to_path)
end
- def mv_account(from, to)
- from_path = self.get_account_path(from)
- to_path = self.get_account_path(to)
+ def mv_user(from, to)
+ from_path = self.get_user_path(from)
+ to_path = self.get_user_path(to)
FileUtils.mv(from_path, to_path)
end