You are here

function dba_admin_tables_optimize in Database Administration 5

MySQL only: optimize the selected table(s).

1 string reference to 'dba_admin_tables_optimize'
dba_menu in ./dba.module

File

./dba.module, line 432
Allows administrators direct access to their Drupal database. Written by Jeremy Andrews <jeremy@kerneltrap.org>, June 2004. PostgreSQL functionality provided by AAM <aam@ugpl.de> Major security audit, porting, and maintenance by Derek…

Code

function dba_admin_tables_optimize() {
  $output = '';
  if (user_access('dba administer database')) {
    $output = dba_tables_optimize();
    unset($_SESSION['dba_tables']);
  }
  print theme('page', $output);
}