Remove $wpdb and $blog_id

This commit is contained in:
Bryce 2015-02-04 19:33:25 +07:00
parent d0e0a6be6b
commit 1e9349a585
1 changed files with 0 additions and 5 deletions

View File

@ -522,11 +522,6 @@ class WC_API_Customers extends WC_API_Resource {
*/
private function query_customers( $args = array() ) {
global $wpdb;
// Blog ID
$blog_id = get_current_blog_id();
// default users per page
$users_per_page = get_option( 'posts_per_page' );