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

Diff of /contributions/modules/dba/dba.module

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

revision 1.44.2.15, Sat Dec 15 02:03:50 2007 UTC revision 1.44.2.16, Wed Feb 20 01:00:14 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: dba.module,v 1.44.2.14 2007/10/15 22:51:32 jeremy Exp $  // $Id: dba.module,v 1.44.2.15 2007/12/15 02:03:50 dww Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 1495  function dba_drop_table($table) { Line 1495  function dba_drop_table($table) {
1495  }  }
1496    
1497  function _is_mysql() {  function _is_mysql() {
1498    return $GLOBALS['db_type'] == 'mysql' || 'mysqli' ? 1 : 0;    switch($GLOBALS['db_type']) {
1499        case 'mysql':
1500        case 'mysqli':
1501          return 1;
1502        default:
1503          return 0;
1504      }
1505  }  }
1506    
1507  /**  /**

Legend:
Removed from v.1.44.2.15  
changed lines
  Added in v.1.44.2.16

  ViewVC Help
Powered by ViewVC 1.1.2