Remove unused references to global $wpdb

git-svn-id: http://svn.automattic.com/wordpress/trunk@13240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
dd32
2010-02-20 00:50:29 +00:00
parent 12c913823d
commit 80d9329e5e
6 changed files with 3 additions and 12 deletions
-3
View File
@@ -1442,15 +1442,12 @@ function remove_query_arg( $key, $query=false ) {
/**
* Walks the array while sanitizing the contents.
*
* @uses $wpdb Used to sanitize values
* @since 0.71
*
* @param array $array Array to used to walk while sanitizing contents.
* @return array Sanitized $array.
*/
function add_magic_quotes( $array ) {
global $wpdb;
foreach ( (array) $array as $k => $v ) {
if ( is_array( $v ) ) {
$array[$k] = add_magic_quotes( $v );