]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/prune/plugins/davical.rb
Simplify prune plugins and fix array difference error.
[mailshears.git] / lib / prune / plugins / davical.rb
index d13684eb26414a4cb6cd5f44c6cadbd9550ad274..f7f4b39cf64d5c0ca86d32fcf542738f1ecbc2a8 100644 (file)
@@ -4,26 +4,5 @@ require 'prune/prune_plugin'
 require 'rm/plugins/davical'
 
 class DavicalPrune < DavicalRm
 require 'rm/plugins/davical'
 
 class DavicalPrune < DavicalRm
-  #
-  # DAViCal only supports Postgres, so even if we ever are
-  # database-agnostic, this plugin can't be.
-  #
   include PrunePlugin
   include PrunePlugin
-
-
-  def get_leftover_domains(db_domains)
-    # DAViCal doesn't have a concept of domains. We could parse the
-    # usernames to see what domains are present, but the point is
-    # moot: all leftover accounts will be pruned anyway.
-    return []
-  end
-
-
-  def get_leftover_accounts(db_accounts)
-    # Get a list of all users who have logged in to DAViCal.
-    davical_accounts = self.list_users()
-    return davical_accounts - db_accounts
-  end
-
-
 end
 end