public function publishRevision()
    {
        $this->revision->published = true;
        $this->revision->save();

        $this->unpublishOtherRevisions();
    }
public function publishRevision()
    {
        $this->revision->published = true;
        $this->revision->save();

        $this->unpublishOtherRevisions();
    }
public function publishRevision ( ) { $ this -> revision -> published = true ; $ this -> revision -> save ( ) ; $ this -> unpublishOtherRevisions ( ) ; }
Publish the current revision and unpublish the other revisions of the same language.
Publish the current revision and unpublish the other revisions of the same language .