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