From 2b54c76bec008bed8b910183cf4e98795c7a446a Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sat, 4 Sep 2021 16:07:48 +0200 Subject: Remove dangling $wpdb ref in AdminPage. AdminPage now references the database only through the Concert (and Venue) models. --- includes/admin/views/giglog_admin_page.php | 2 -- 1 file changed, 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; -- cgit v1.2.3