You are here

watchdog.inc in User Import 5.2

File

supported/watchdog.inc
View source
<?php

/**
 * Implementation of hook_user_import_after_save().
 */
function watchdog_user_import_after_save($settings, $account, $password, $fields) {
  watchdog('user', t('New user: %name %email.', array(
    '%name' => theme('placeholder', check_plain($account->name)),
    '%email' => theme('placeholder', '<' . check_plain($account->mail) . '>'),
  )), WATCHDOG_NOTICE, l(t('edit'), 'user/' . $account->uid . '/edit'));
  return;
}

Functions

Namesort descending Description
watchdog_user_import_after_save Implementation of hook_user_import_after_save().