Clean up user/domain describing in the plugins.
[mailshears.git] / lib / common / davical_plugin.rb
index 557c1dd1b3bf18e012cdf234e6400b05d4de7925..cd34a982529f70c09e156567e34cbcab97b7fc8e 100644 (file)
@@ -17,20 +17,9 @@ module DavicalPlugin
   end
 
 
-  def describe_domain(domain)
-    # DAViCal doesn't have a concept of domains.
-    return domain.to_s()
-  end
-
-
   def describe_user(user)
     principal_id = self.get_principal_id(user)
-
-    if principal_id.nil?
-      return 'User not found'
-    else
-      return "Principal ID: #{principal_id}"
-    end
+    return "Principal ID: #{principal_id}"
   end