]>
gitweb.michael.orlitzky.com - mailshears.git/blob - lib/rm/plugins/dovecot_mailstore.rb
8647b01a1685e0e4382f865900bdb26bd9d7a73a
4 require 'common/dovecot_mailstore_plugin'
7 class DovecotMailstoreRm
9 include DovecotMailstorePlugin
13 def delete_domain(domain
)
14 # Will raise an exception if the path doesn't exist.
15 domain_path
= self.get_domain_path(domain
)
16 FileUtils
.rm_r(domain_path
)
19 def delete_account(account
)
20 # Will raise an exception if the path doesn't exist.
21 account_path
= self.get_account_path(account
)
22 FileUtils
.rm_r(account_path
)