From a5198af622cdab6a4b42723f3a4eb7b0681de054 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 10 Mar 2022 21:29:38 +0100 Subject: Drop some unused variables from the admin page update. --- includes/admin/views/giglog_admin_page.php | 7 ------- 1 file changed, 7 deletions(-) (limited to 'includes/admin/views/giglog_admin_page.php') diff --git a/includes/admin/views/giglog_admin_page.php b/includes/admin/views/giglog_admin_page.php index 8d210bf..c8e9250 100644 --- a/includes/admin/views/giglog_admin_page.php +++ b/includes/admin/views/giglog_admin_page.php @@ -72,13 +72,6 @@ if ( !class_exists( 'GiglogAdmin_AdminPage' ) ) { if ('POST' !== $_SERVER['REQUEST_METHOD']) return; - // Use the submitted "city" if any. Otherwise, use the default/static value. - $cty = filter_input( INPUT_POST, 'selectcity', FILTER_SANITIZE_SPECIAL_CHARS ); - $cty = $cty ? $cty: 'ALL'; - - $venue = filter_input( INPUT_POST, 'selectvenue', FILTER_SANITIZE_SPECIAL_CHARS ); - $venue = $venue ? $venue : '0'; - if(isset($_POST['assignitem'])) { $concert = GiglogAdmin_Concert::get(intval($_POST['cid'])); -- cgit v1.2.3