function db_maintenance_optimize_tables_page in DB Maintenance 8.2
Same name and namespace in other branches
- 5.2 db_maintenance.module \db_maintenance_optimize_tables_page()
- 5 db_maintenance.module \db_maintenance_optimize_tables_page()
- 6.2 db_maintenance.module \db_maintenance_optimize_tables_page()
- 6 db_maintenance.module \db_maintenance_optimize_tables_page()
- 7.2 db_maintenance.module \db_maintenance_optimize_tables_page()
- 7 db_maintenance.module \db_maintenance_optimize_tables_page()
Callback page for manually optimizing tables.
1 string reference to 'db_maintenance_optimize_tables_page'
- db_maintenance_menu in ./
db_maintenance.module - Implements hook_menu().
File
- ./
db_maintenance.module, line 96 - Optimizes database tables during cron runs.
Code
function db_maintenance_optimize_tables_page() {
db_maintenance_optimize_tables();
drupal_set_message(t('Database tables optimized'));
drupal_goto('admin/config/system/db_maintenance');
}