public function delete()
	{
		$asset = Model::oneByName($this->getAssetName());

		if ($asset->get('id'))
		{
			if (!$asset->destroy())
			{
				return false;
			}
		}

		return true;
	}
public function delete()
	{
		$asset = Model::oneByName($this->getAssetName());

		if ($asset->get('id'))
		{
			if (!$asset->destroy())
			{
				return false;
			}
		}

		return true;
	}
public function delete ( ) { $ asset = Model :: oneByName ( $ this -> getAssetName ( ) ) ; if ( $ asset -> get ( 'id' ) ) { if ( ! $ asset -> destroy ( ) ) { return false ; } } return true ; }
Deletes the current asset entry

@return  bool
@since   2.0.0
Deletes the current asset entry