Replace 'account' with 'user' everywhere.
[mailshears.git] / lib / prune / prune_runner.rb
index acc8828ba11be426a0c0ad90b1fe991c25f7154a..7ea61919ca46981c4284c4744854355756f9e3be 100644 (file)
@@ -16,12 +16,12 @@ class PruneRunner
     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|
-      user_description = plugin.describe_account(user)
-      plugin.delete_account(user)
+      user_description = plugin.describe_users(user)
+      plugin.delete_user(user)
       report(plugin, "Removed user: #{user} (#{user_description})")
     end