]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/rm/plugins/dovecot_mailstore.rb
Implement user_exists() everywhere and use it to correct the console output.
[mailshears.git] / lib / rm / plugins / dovecot_mailstore.rb
index 72c80c83537559bef358868dc9fc57c0dc905890..8647b01a1685e0e4382f865900bdb26bd9d7a73a 100644 (file)
@@ -11,11 +11,13 @@ class DovecotMailstoreRm
 
 
   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