]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/prune/plugins/agendav.rb
Simplify prune plugins and fix array difference error.
[mailshears.git] / lib / prune / plugins / agendav.rb
index 43b5c99e883cf4287438297308b43769345806aa..86a437bd699727a64f05ea38982ffe59fc53007f 100644 (file)
@@ -4,21 +4,5 @@ require 'prune/prune_plugin'
 require 'rm/plugins/agendav'
 
 class AgendavPrune < AgendavRm
-
   include PrunePlugin
-
-  def get_leftover_domains(db_domains)
-    # AgenDAV 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 users will be pruned anyway.
-    return []
-  end
-
-
-  def get_leftover_users(db_users)
-    # Get a list of all users who have logged in to AgenDAV.
-    ad_users = self.list_users()
-    return ad_users - db_users
-  end
-
 end