You are here

function page_title_drop_old_table_form in Page Title 6.2

@file Small include for the legacy old table handling

1 string reference to 'page_title_drop_old_table_form'
page_title_menu in ./page_title.module
Implementation of hook_menu().

File

./page_title.legacy.inc, line 8
Small include for the legacy old table handling

Code

function page_title_drop_old_table_form() {
  if (!db_table_exists('page_title_old')) {
    drupal_set_message(t("The old Page Title table (<code>page_title_old</code>) doesn't exists. Please empty the site cache."));
    return array();
  }
  drupal_set_message(t('Are you sure you want to drop the <code>page_title_old</code> table. It contains unused data, but was left in place until an adminitrator could confirm the upgrade completed succesfully.'));
  $form = array();
  return confirm_form($form, t('Remove <code>page_title_old</code> table?'), 'admin/reports/status', t('This action cannot be undone'), t('Drop Table'), t('Cancel'));
}