public function deleteSeoAttributesFromLanguage($languageId, $pageId)
    {
        $alSeo = $this->seoRepository->fromPageAndLanguage($languageId, $pageId);
        // Occours when the attributes has been already removed
        if (null === $alSeo) return true;

        $this->set($alSeo);
        $result = $this->delete();
        $this->set(null);

        return $result;
    }
public function deleteSeoAttributesFromLanguage($languageId, $pageId)
    {
        $alSeo = $this->seoRepository->fromPageAndLanguage($languageId, $pageId);
        // Occours when the attributes has been already removed
        if (null === $alSeo) return true;

        $this->set($alSeo);
        $result = $this->delete();
        $this->set(null);

        return $result;
    }
public function deleteSeoAttributesFromLanguage ( $ languageId , $ pageId ) { $ alSeo = $ this -> seoRepository -> fromPageAndLanguage ( $ languageId , $ pageId ) ; // Occours when the attributes has been already removed if ( null === $ alSeo ) return true ; $ this -> set ( $ alSeo ) ; $ result = $ this -> delete ( ) ; $ this -> set ( null ) ; return $ result ; }
Deletes the seo attribute identified by the given language and page

@param  int     $languageId
@param  int     $pageId
@return boolean

@api
Deletes the seo attribute identified by the given language and page