Rename the 'rm' plugin classes with an 'Rm' suffix.
# Plugins for moving (renaming) accounts.
#
- def mv_domain(from. to)
+ def mv_domain(from, to)
# Rename the given domain.
raise NotImplementedError
end
# Return the filesystem path of this account's mailbox.
# Only works if the account exists!
if not account.include?('@')
- raise InvalidAccountError.new("#{account}: Accounts must contain an '@' symbol.")
+ msg = "#{account}: Accounts must contain an '@' symbol."
+ raise InvalidAccountError.new(msg)
end
account_parts = account.split('@')
require 'common/plugin'
require 'rm/rm_plugin'
-class AgendavDb
+class AgendavRm
include Plugin
include RmPlugin
require 'common/plugin'
require 'rm/rm_plugin'
-class DavicalDb
+class DavicalRm
#
# DAViCal only supports Postgres, so even if we ever are
# database-agnostic, this plugin can't be.
require 'common/plugin'
require 'rm/rm_plugin'
-class DovecotMailstore < Mailstore
+class DovecotMailstoreRm < Mailstore
include Plugin
include RmPlugin
require 'common/plugin'
require 'rm/rm_plugin'
-class RoundcubeDb
+class RoundcubeDbRm
include Plugin
include RmPlugin