You are here

function db_maintenance_permission in DB Maintenance 7

Same name and namespace in other branches
  1. 8.2 db_maintenance.module \db_maintenance_permission()
  2. 8 db_maintenance.module \db_maintenance_permission()
  3. 7.2 db_maintenance.module \db_maintenance_permission()
  4. 2.0.x db_maintenance.module \db_maintenance_permission()

Implements hook_permission().

File

./db_maintenance.module, line 55
Optimizes database tables during cron runs.

Code

function db_maintenance_permission() {
  return array(
    'administer db maintenance' => array(
      'title' => t('Administer DB Maintenance'),
      'description' => t('Select which tables to optimize during cron jobs.'),
    ),
  );
}