You are here

protected function DrupalUtils::takeSiteOnline in Backup and Migrate 8.4

Take the site online if it was taken offline for this operation.

1 call to DrupalUtils::takeSiteOnline()
DrupalUtils::tearDown in src/Filter/DrupalUtils.php
Run after the operation is complete.

File

src/Filter/DrupalUtils.php, line 86

Class

DrupalUtils
Class DrupalUtils.

Namespace

BackupMigrate\Drupal\Filter

Code

protected function takeSiteOnline() {

  // Take the site online again.
  if ($this->maintenance_mode) {
    \Drupal::state()
      ->set('system.maintenance_mode', FALSE);
  }
}