X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Frm%2Fplugins%2Fdavical.rb;h=02e889466849fb7c67aad15e0812afce1e23e33e;hp=ce5828a627b3cf72a29069815feab17660a07267;hb=483d14dc8228a81d12fb109d3ed6510e2d2b03c1;hpb=e7fa62fc599b7583102fe48fbaad3db4f911a6da;ds=inline diff --git a/lib/rm/plugins/davical.rb b/lib/rm/plugins/davical.rb index ce5828a..02e8894 100644 --- a/lib/rm/plugins/davical.rb +++ b/lib/rm/plugins/davical.rb @@ -12,11 +12,6 @@ class DavicalRm 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 @@ -46,14 +41,4 @@ class DavicalRm end - - def get_domain_usernames(domain) - usernames = get_davical_usernames(); - matches = usernames.select do |username| - username =~ /@#{domain}$/ - end - - return matches - end - end