include RoundcubeDbPlugin
include RmPlugin
- def delete_domain(domain)
- # Roundcube doesn't have a concept of domains.
- end
-
def delete_account(account)
# Delete the given username and any records in other tables
# belonging to it.
+ raise NonexistentAccountError.new(account) if not user_exists(account)
+
user_id = self.get_user_id(account)
# The Roundcube developers were nice enough to include
end
-
-
- def get_domain_usernames(domain)
- usernames = get_roundcube_usernames();
- matches = usernames.select do |username|
- username =~ /@#{domain}$/
- end
-
- return matches
- end
-
end