]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/prune/plugins/dovecot.rb
Replace 'account' with 'user' everywhere.
[mailshears.git] / lib / prune / plugins / dovecot.rb
index 88e5c1cb875351293758c945608f8a1a5f363590..bf96420d209753da032d77bd4cbcb7e71d3d5f3e 100644 (file)
@@ -14,13 +14,13 @@ class DovecotPrune < DovecotRm
     return (fs_domains - db_domains)
   end
 
-  def get_leftover_accounts(db_accounts)
-    # Get the list of accounts according to the filesystem.
+  def get_leftover_users(db_users)
+    # Get the list of users according to the filesystem.
     fs_domains = self.list_domains()
-    fs_accounts = self.list_domains_users(fs_domains)
+    fs_users = self.list_domains_users(fs_domains)
 
-    # And return the accounts on the filesystem that aren't in the DB.
-    return (fs_accounts - db_accounts)
+    # And return the users on the filesystem that aren't in the DB.
+    return (fs_users - db_users)
   end
 
 end