/**
  * Revert the draft site to the current live site
  *
  * @return void
  */
 public function doRevertToLive()
 {
     if ($this->Fields()) {
         foreach ($this->Fields() as $field) {
             $field->publish("Live", "Stage", false);
             $field->writeWithoutVersion();
         }
     }
     parent::doRevertToLive();
 }
 /**
  * Revert the draft site to the current live site
  *
  * @return void
  */
 public function doRevertToLive()
 {
     if ($this->Fields()) {
         foreach ($this->Fields() as $field) {
             $field->writeToStage('Live', 'Stage');
         }
     }
     parent::doRevertToLive();
 }