private function updateCheck($name)
	{
		$filePath = Yii::getPathOfAlias('base.themes').DS.$name;
		$details = $this->actionDetails($name);

		if (file_exists($filePath.DS.'VERSION'))
		{
			$version = file_get_contents($filePath.DS.'VERSION');
			if ($version != $details['latest-version'])
				return true;
		}
		else
			return true;

		return false;

	}
private function updateCheck($name)
	{
		$filePath = Yii::getPathOfAlias('base.themes').DS.$name;
		$details = $this->actionDetails($name);

		if (file_exists($filePath.DS.'VERSION'))
		{
			$version = file_get_contents($filePath.DS.'VERSION');
			if ($version != $details['latest-version'])
				return true;
		}
		else
			return true;

		return false;

	}
private function updateCheck ( $ name ) { $ filePath = Yii :: getPathOfAlias ( 'base.themes' ) . DS . $ name ; $ details = $ this -> actionDetails ( $ name ) ; if ( file_exists ( $ filePath . DS . 'VERSION' ) ) { $ version = file_get_contents ( $ filePath . DS . 'VERSION' ) ; if ( $ version != $ details [ 'latest-version' ] ) return true ; } else return true ; return false ; }
Checks if an update is necessary
@param string $name
@return boolean
Checks if an update is necessary