Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WP Plugins
Cron-Control
Commits
68f69708
Commit
68f69708
authored
Jun 16, 2017
by
Erick Hitter
Committed by
GitHub
Jun 16, 2017
Browse files
Merge pull request #112 from Automattic/remove-unused-global-wpdb-variable
Removing unused global $wpdb variable
parents
e4b0f8f7
52da5843
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/wp-cli/class-events.php
View file @
68f69708
...
...
@@ -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'
]
)
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment