Replace 'account' with 'user' everywhere.
[mailshears.git] / lib / rm / plugins / dovecot.rb
index 4283e9c2267f9b0088febcd4d5b45ea423ddb660..837a7fd68b4da94c3c8363d64035622c410796be 100644 (file)
@@ -16,10 +16,10 @@ class DovecotRm
     FileUtils.rm_r(domain_path)
   end
 
-  def delete_account(account)
+  def delete_user(user)
     # Will raise an exception if the path doesn't exist.
-    account_path = self.get_account_path(account)
-    FileUtils.rm_r(account_path)
+    user_path = self.get_user_path(user)
+    FileUtils.rm_r(user_path)
   end
 
 end