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
+
end