function db_maintenance_optimize_tables_page in DB Maintenance 6
Same name and namespace in other branches
- 8.2 db_maintenance.module \db_maintenance_optimize_tables_page()
- 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()
- 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 - Implementation of hook_menu().
File
- ./
db_maintenance.module, line 74 - 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/settings/db_maintenance');
}