You are here

public function MigrateSQLMap::clearMessages in Migrate 7.2

Same name and namespace in other branches
  1. 6.2 plugins/sources/sqlmap.inc \MigrateSQLMap::clearMessages()

Clear all messages from the message table.

Overrides MigrateMap::clearMessages

File

plugins/sources/sqlmap.inc, line 675
Defines a Drupal db-based implementation of MigrateMap.

Class

MigrateSQLMap
@file Defines a Drupal db-based implementation of MigrateMap.

Code

public function clearMessages() {
  $this->connection
    ->truncate($this->messageTable)
    ->execute();
}