]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/prune/plugins/davical.rb
Replace 'account' with 'user' everywhere.
[mailshears.git] / lib / prune / plugins / davical.rb
index d13684eb26414a4cb6cd5f44c6cadbd9550ad274..3c5ff0e3401a7087c6a56810f3958866323d92af 100644 (file)
@@ -14,15 +14,15 @@ class DavicalPrune < DavicalRm
   def get_leftover_domains(db_domains)
     # DAViCal doesn't have a concept of domains. We could parse the
     # usernames to see what domains are present, but the point is
-    # moot: all leftover accounts will be pruned anyway.
+    # moot: all leftover users will be pruned anyway.
     return []
   end
 
 
-  def get_leftover_accounts(db_accounts)
+  def get_leftover_users(db_users)
     # Get a list of all users who have logged in to DAViCal.
-    davical_accounts = self.list_users()
-    return davical_accounts - db_accounts
+    davical_users = self.list_users()
+    return davical_users - db_users
   end