remove extra code from pdodb.class.php
git-svn-id: https://plugins.svn.wordpress.org/sqlite-integration/trunk@745519 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
c6cdb13211
commit
65feb6f6ae
|
@ -16,13 +16,6 @@ if(!defined('PDO_DEBUG')){
|
||||||
define('PDO_DEBUG', false);
|
define('PDO_DEBUG', false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($wpdb)){
|
|
||||||
global $wpdb;
|
|
||||||
$wpdb = 'somevar';
|
|
||||||
require_once ABSPATH . 'wp-includes/wp-db.php';
|
|
||||||
unset($wpdb);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class extends wpdb and replaces it.
|
* This class extends wpdb and replaces it.
|
||||||
* It also rewrites some functions that use mysql specific functions.
|
* It also rewrites some functions that use mysql specific functions.
|
||||||
|
|
Loading…
Reference in New Issue