Replace 'account' with 'user' everywhere.
[mailshears.git] / lib / prune / prune_dummy_runner.rb
index 158ed5f005bef8ceefdfe6c5a0c4469137ddb510..6cb789fcee6c4243f7e4a819eaf55fc8f8102e76 100644 (file)
@@ -16,11 +16,11 @@ class PruneDummyRunner
     db_users = pfa.list_users()
     db_domains = pfa.list_domains()
 
     db_users = pfa.list_users()
     db_domains = pfa.list_domains()
 
-    leftover_users = plugin.get_leftover_accounts(db_users)
+    leftover_users = plugin.get_leftover_users(db_users)
     leftover_domains = plugin.get_leftover_domains(db_domains)
 
     leftover_users.each do |user|
     leftover_domains = plugin.get_leftover_domains(db_domains)
 
     leftover_users.each do |user|
-      user_description = plugin.describe_account(user)
+      user_description = plugin.describe_user(user)
       report(plugin, "Would remove user: #{user} (#{user_description})")
     end
 
       report(plugin, "Would remove user: #{user} (#{user_description})")
     end