public function beforeAction($action)
	{
		if (Cii::getConfig('useDisqusComments'))
			throw new CHttpException(403, Yii::t('Api.comment', 'The comment API is not available while Disqus comments are enabled.'));

		if (Cii::getConfig('useDiscourceComments'))
			throw new CHttpException(403, Yii::t('Api.comment', 'The comment API is not available while Discourse comments are enabled.'));

		return parent::beforeAction($action);
	}