]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/prune/plugins/roundcube.rb
Replace 'account' with 'user' everywhere.
[mailshears.git] / lib / prune / plugins / roundcube.rb
index 77eacfcb6fe5f1f09722769aaa82360c68c53334..1bb782700748644905b0fb1141ddd9eb5fb63127 100644 (file)
@@ -11,15 +11,15 @@ class RoundcubePrune < RoundcubeRm
   def get_leftover_domains(db_domains)
     # Roundcube doesn't have a concept of domains. We could parse the
     # usernames to see what domains are present, but the point is
   def get_leftover_domains(db_domains)
     # Roundcube 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
 
 
     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 Roundcube.
     # Get a list of all users who have logged in to Roundcube.
-    rc_accounts = self.list__users()
-    return rc_accounts - db_accounts
+    rc_users = self.list_users()
+    return rc_users - db_users
   end
 
 end
   end
 
 end