From 46037d7a408060c0a77161ae112f3e8a0825e023 Mon Sep 17 00:00:00 2001 From: Casey Peel Date: Sat, 23 Dec 2023 21:11:24 +0000 Subject: [PATCH] Removed unused globals from My Projects These globals aren't used in the functions they are declared. --- tools/proofers/my_projects.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/proofers/my_projects.php b/tools/proofers/my_projects.php index 883dd729a7..ce6c3e80c3 100644 --- a/tools/proofers/my_projects.php +++ b/tools/proofers/my_projects.php @@ -434,8 +434,6 @@ function get_sort_options($colspecs) // to make sure that some projects are displayed, iterate over the view order function get_view_options($username) { - global $ELR_round, $code_url; - $round_view_options = [ "recent" => [ "label" => _("Recent"), @@ -530,7 +528,7 @@ function get_sort_col_and_dir($sort) function show_headings($colspecs, $sorting, $username, $sort_name, $anchor) { - global $pguser, $code_url; + global $pguser; [$order_col, $order_dir] = get_sort_col_and_dir($sorting);