You are here

public function MigrateSQLMap::clearMessages in Migrate 6.2

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

Clear all messages from the message table.

Overrides MigrateMap::clearMessages

File

plugins/sources/sqlmap.inc, line 553
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();
}