Make WordPress Core


Ignore:
Timestamp:
10/06/2007 08:40:54 AM (16 years ago)
Author:
westi
Message:

Move all calls to mysql_ functions to withiWPDB so that t we don't expect any mysql stuff when we are using a custo$wpdb class. Fixes #5127
props ComputerGuru.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/schema.php

    r6178 r6199  
    44$charset_collate = '';
    55
    6 if ( version_compare(mysql_get_server_info(), '4.1.0', '>=') ) {
     6if ( $wpdb->supports_collation() ) {
    77    if ( ! empty($wpdb->charset) )
    88        $charset_collate = "DEFAULT CHARACTER SET $wpdb->charset";
Note: See TracChangeset for help on using the changeset viewer.