include RmPlugin
- def delete_domain(domain)
- # AgenDAV 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)
sql_queries = ['DELETE FROM prefs WHERE username = $1;']
sql_queries << 'DELETE FROM shared WHERE user_from = $1;'