/** * Set the name of the spam protecter class * * @param String the name of protecter field class */ public static function set_spam_protector($protector) { self::$spam_protector = $protector; }
public static function set_spam_protector($protector) { Deprecation::notice('1.1', 'SpamProtectorManager::set_spam_protector() is deprecated. ' . 'Use the new config system. FormSpamProtectorExtension.default_spam_protector'); self::$spam_protector = $protector; }