Simplify prune plugins and fix array difference error.
[mailshears.git] / lib / prune / plugins / agendav.rb
index 15787734517c2345a19eb24e1e1a24e78bb657c0..86a437bd699727a64f05ea38982ffe59fc53007f 100644 (file)
@@ -1,24 +1,8 @@
 require 'pg'
 
-require 'common/agendav_plugin'
 require 'prune/prune_plugin'
 require 'rm/plugins/agendav'
 
 class AgendavPrune < AgendavRm
-
-  include AgendavPlugin
   include PrunePlugin
-
-  def get_leftover_domains(db_domains)
-    # AgenDAV doesn't have a concept of domains.
-    return []
-  end
-
-
-  def get_leftover_accounts(db_accounts)
-    # Get a list of all users who have logged in to AgenDAV.
-    ad_accounts = self.get_agendav_usernames()
-    return ad_accounts - db_accounts
-  end
-
 end