]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/common/postfixadmin_plugin.rb
Add some new fixtures in preparation for prune tests.
[mailshears.git] / lib / common / postfixadmin_plugin.rb
index 60880d9e7bad17cf2298b4b0c9498d1007258039..b984f6cf66a5b2e5d66155124577f8c6a2c6eaef 100644 (file)
@@ -19,18 +19,6 @@ module PostfixadminPlugin
   end
 
 
-  def describe_user(user)
-    # There's no other unique identifier in PostfixAdmin
-    return user.to_s()
-  end
-
-
-  def describe_domain(domain)
-    # There's no other unique identifier in PostfixAdmin
-    return domain.to_s()
-  end
-
-
   def list_domains()
     domains = []
 
@@ -59,14 +47,6 @@ module PostfixadminPlugin
   end
 
 
-  def domain_exists(domain)
-    # Does the given domain exist in Postfixadmin? We use a naive
-    # implementation here based on list_domains(). This isn't in our
-    # superclass because not all plugins have a concept of domains.
-    domains = list_domains()
-    return domains.include?(domain)
-  end
-
 
   def list_users()
     users = []