util.sasl_cyrus: Removed method:forbidden().
authorWaqas Hussain <waqas20@gmail.com>
Mon, 02 Aug 2010 18:46:13 +0500
changeset 3426 37b9b8e171b9
parent 3425 26751c628207
child 3427 046a8cf304dd
util.sasl_cyrus: Removed method:forbidden().
util/sasl_cyrus.lua
--- a/util/sasl_cyrus.lua	Mon Aug 02 18:44:08 2010 +0500
+++ b/util/sasl_cyrus.lua	Mon Aug 02 18:46:13 2010 +0500
@@ -116,17 +116,11 @@
 	return s;
 end
 
--- get a fresh clone with the same realm, profiles and forbidden mechanisms
+-- get a fresh clone with the same realm and service name
 function method:clean_clone()
 	return new(self.realm, self.service_name)
 end
 
--- set the forbidden mechanisms
-function method:forbidden( restrict )
-	log("warn", "Called method:forbidden. NOT IMPLEMENTED.")
-	return {}
-end
-
 -- get a list of possible SASL mechanims to use
 function method:mechanisms()
 	local mechanisms = self.mechs;