/[drupal]/contributions/modules/db_maintenance/db_maintenance.module
ViewVC logotype

Diff of /contributions/modules/db_maintenance/db_maintenance.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.9.2.6, Wed Jul 30 19:49:25 2008 UTC revision 1.9.2.7, Fri Aug 1 01:49:33 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: db_maintenance.module,v 1.9.2.2 2007/01/28 03:10:20 deekayen Exp $  // $Id: db_maintenance.module,v 1.9.2.6 2008/07/30 19:49:25 deekayen Exp $
3    
4  /**  /**
5   * @file   * @file
6   * Optimizes database tables during cron runs.   * Optimizes database tables during cron runs.
7   *   *
8   * @version $Id: db_maintenance.module,v 1.9.2.2 2007/01/28 03:10:20 deekayen Exp $   * @version $Id: db_maintenance.module,v 1.9.2.6 2008/07/30 19:49:25 deekayen Exp $
9   * @author David Kent Norman   * @author David Kent Norman
10   * @link http://deekayen.net/   * @link http://deekayen.net/
11   *   *
# Line 267  function db_maintenance_db_size_info($db Line 267  function db_maintenance_db_size_info($db
267    $db_size_info['type'] = $bytes[$i];    $db_size_info['type'] = $bytes[$i];
268    return $db_size_info;    return $db_size_info;
269  }  }
270    
271    /**
272     * Implementation of hook_simpletest().
273     */
274    function db_maintenance_simpletest() {
275      // Scan through mymodule/tests directory for any .test files to tell SimpleTest module.
276      $tests = file_scan_directory(drupal_get_path('module', 'db_maintenance') .'/tests', '\.test');
277      return array_keys($tests);
278    }

Legend:
Removed from v.1.9.2.6  
changed lines
  Added in v.1.9.2.7

  ViewVC Help
Powered by ViewVC 1.1.2