Skip to content

Commit

Permalink
Removed unused globals from My Projects
Browse files Browse the repository at this point in the history
These globals aren't used in the functions they are declared.
  • Loading branch information
cpeel committed Dec 24, 2023
1 parent b6ad25a commit 46037d7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/proofers/my_projects.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 46037d7

Please sign in to comment.