diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2021-09-04 16:07:48 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2021-09-04 16:07:48 +0200 |
commit | 2b54c76bec008bed8b910183cf4e98795c7a446a (patch) | |
tree | 4df76b28d1c91cf48f3961ac40c8851244580b88 | |
parent | 57c9ed78112fb33f8a552e9b76d4fedac14f08d9 (diff) | |
download | gigologadmin-2b54c76bec008bed8b910183cf4e98795c7a446a.tar.gz gigologadmin-2b54c76bec008bed8b910183cf4e98795c7a446a.tar.bz2 gigologadmin-2b54c76bec008bed8b910183cf4e98795c7a446a.zip |
Remove dangling $wpdb ref in AdminPage.
AdminPage now references the database only through the Concert (and
Venue) models.
-rw-r--r-- | includes/admin/views/giglog_admin_page.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/includes/admin/views/giglog_admin_page.php b/includes/admin/views/giglog_admin_page.php index 447dcb2..dfea3fd 100644 --- a/includes/admin/views/giglog_admin_page.php +++ b/includes/admin/views/giglog_admin_page.php @@ -269,8 +269,6 @@ if ( !class_exists( 'GiglogAdmin_AdminPage' ) ) { */ static function update() { - global $wpdb; - if ('POST' !== $_SERVER['REQUEST_METHOD']) return; |