Commit 68f69708 authored by Erick Hitter's avatar Erick Hitter Committed by GitHub
Browse files

Merge pull request #112 from Automattic/remove-unused-global-wpdb-variable

Removing unused global $wpdb variable
parents e4b0f8f7 52da5843
......@@ -149,8 +149,6 @@ class Events extends \WP_CLI_Command {
* Retrieve list of events, and related data, for a given request
private function get_events( $args, $assoc_args ) {
global $wpdb;
// Accept a status argument, with a default
$status = 'pending';
if ( isset( $assoc_args['status'] ) ) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment