Clean up user/domain describing in the plugins.
[mailshears.git] / lib / common / roundcube_plugin.rb
index b1c74a6d7494420ea9908389317c9d03e39d64f9..eb450f00059d038776046dc7604417e1de3c367e 100644 (file)
@@ -17,19 +17,9 @@ module RoundcubePlugin
   end
 
 
-  def describe_domain(domain)
-    # Roundcube doesn't have a concept of domains.
-    return domain.to_s()
-  end
-
   def describe_user(user)
     user_id = self.get_user_id(user)
-
-    if user_id.nil?
-      return 'User not found'
-    else
-      return "User ID: #{user_id}"
-    end
+    return "User ID: #{user_id}"
   end