X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Frm%2Fplugins%2Fdovecot_mailstore.rb;fp=lib%2Frm%2Fplugins%2Fdovecot_mailstore.rb;h=0000000000000000000000000000000000000000;hp=8647b01a1685e0e4382f865900bdb26bd9d7a73a;hb=7f8654ed6582062a295e1be75ae70e99de41b323;hpb=bd2dabf89ab277fbe315b05e6dfa839afb5ce5ef diff --git a/lib/rm/plugins/dovecot_mailstore.rb b/lib/rm/plugins/dovecot_mailstore.rb deleted file mode 100644 index 8647b01..0000000 --- a/lib/rm/plugins/dovecot_mailstore.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Needed for rm_r. -require 'fileutils' - -require 'common/dovecot_mailstore_plugin' -require 'rm/rm_plugin' - -class DovecotMailstoreRm - - include DovecotMailstorePlugin - include RmPlugin - - - def delete_domain(domain) - # Will raise an exception if the path doesn't exist. - domain_path = self.get_domain_path(domain) - FileUtils.rm_r(domain_path) - end - - def delete_account(account) - # Will raise an exception if the path doesn't exist. - account_path = self.get_account_path(account) - FileUtils.rm_r(account_path) - end - -end