You are here

function user_relationship_migrate_page in User Relationships 6

Same name and namespace in other branches
  1. 5.2 plugins/user_relationship_migrate/user_relationship_migrate.module \user_relationship_migrate_page()
1 string reference to 'user_relationship_migrate_page'
user_relationship_migrate_menu in user_relationship_migrate/user_relationship_migrate.module
Implementation of hook_menu().

File

user_relationship_migrate/user_relationship_migrate.module, line 41

Code

function user_relationship_migrate_page() {
  if ($last_run = variable_get('user_relationship_migrate_last_run', NULL)) {
    $last_run = strftime('%m/%d/%y %H:%M:%S', $last_run);
    drupal_set_message(t("You ran this migration %date", array(
      '%date' => $last_run,
    )));
  }
  return drupal_get_form('user_relationship_migrate_form');
}