summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-09-04 16:07:48 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-09-04 16:07:48 +0200
commit2b54c76bec008bed8b910183cf4e98795c7a446a (patch)
tree4df76b28d1c91cf48f3961ac40c8851244580b88
parent57c9ed78112fb33f8a552e9b76d4fedac14f08d9 (diff)
downloadgigologadmin-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.php2
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;