public function actionUpdateCheck($name=false)
	{
		if ($name == false)
			return false;

		if (defined('CII_CONFIG'))
			return $this->returnError(200, Yii::t('Api.main', 'Update is not required'), false);

		if ($this->updateCheck($name))
			return $this->returnError(200, Yii::t('Api.main', 'Update is available'), true);

		return $this->returnError(200, Yii::t('Api.main', 'Update is not required'), false);
	}
public function actionUpdateCheck($name=false)
	{
		if ($name == false)
			return false;

		if (defined('CII_CONFIG'))
			return $this->returnError(200, Yii::t('Api.main', 'Update is not required'), false);

		if ($this->updateCheck($name))
			return $this->returnError(200, Yii::t('Api.main', 'Update is available'), true);

		return $this->returnError(200, Yii::t('Api.main', 'Update is not required'), false);
	}
public function actionUpdateCheck ( $ name = false ) { if ( $ name == false ) return false ; if ( defined ( 'CII_CONFIG' ) ) return $ this -> returnError ( 200 , Yii :: t ( 'Api.main' , 'Update is not required' ) , false ) ; if ( $ this -> updateCheck ( $ name ) ) return $ this -> returnError ( 200 , Yii :: t ( 'Api.main' , 'Update is available' ) , true ) ; return $ this -> returnError ( 200 , Yii :: t ( 'Api.main' , 'Update is not required' ) , false ) ; }
Exposed action to check for an update
@param string $name
@return boolean
Exposed action to check for an update