You are here

public function CommentNotifyMigrationHandler::complete in Comment Notify 7

Same name and namespace in other branches
  1. 8 comment_notify.migrate.inc \CommentNotifyMigrationHandler::complete()

Implements MigrateDestinationHandler::complete().

Parameters

object $comment: The comment object that was just saved.

$row: Raw source data for the migration - ignored.

File

./comment_notify.migrate.inc, line 53
Migration support for the Comment Notify module.

Class

CommentNotifyMigrationHandler
Field handler.

Code

public function complete($comment, $row) {
  if (!isset($comment->notified) || $comment->notified) {
    comment_notify_mark_comment_as_notified($comment);
  }
}