You are here

public function MigrationBase::restoreMailSystem in Migrate 7.2

Restores the original saved mail system for migrations that require it.

1 call to MigrationBase::restoreMailSystem()
MigrationBase::endProcess in includes/base.inc
End a rollback or import process, releasing the semaphore. Note that it must be public to be callable as the shutdown function.

File

includes/base.inc, line 1447
Defines the base class for migration processes.

Class

MigrationBase
The base class for all objects representing distinct steps in a migration process. Most commonly these will be Migration objects which actually import data from a source into a Drupal destination, but by deriving classes directly from MigrationBase…

Code

public function restoreMailSystem() {
  global $conf;
  $conf['mail_system'] = $this->mailSystem;
}