public function __construct($default = array()) { parent::__construct($default); require_once JPATH_SITE . DS . 'components' . DS . 'com_javoice' . DS . 'helpers' . DS . 'jacaptcha' . DS . 'jacapcha.php'; $this->registerTask('duplicate', 'spam'); $this->registerTask('Inappropriate', 'spam'); }
function __construct() { parent::__construct(); }