include RmPlugin
- def delete_domain(domain)
- # DAViCal doesn't have a concept of domains.
- end
-
-
def delete_account(account)
# Delete the given username. DAViCal uses foreign keys properly
# and only supports postgres, so we let the ON DELETE CASCADE
# trigger handle most of the work.
+ raise NonexistentAccountError.new(account) if not user_exists(account)
+
sql_queries = ['DELETE FROM usr WHERE username = $1']
begin
end
-
- def get_domain_usernames(domain)
- usernames = get_davical_usernames();
- matches = usernames.select do |username|
- username =~ /@#{domain}$/
- end
-
- return matches
- end
-
end