From 7cf5dd482447c7dc745e41498f26e70feb7870ef Mon Sep 17 00:00:00 2001 From: Dan Langille Date: Fri, 13 Oct 2017 20:14:38 +0000 Subject: [PATCH] Remove references to commit_id. It is not used. --- www/commit.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/www/commit.php b/www/commit.php index 9000e0dd..726db532 100755 --- a/www/commit.php +++ b/www/commit.php @@ -19,15 +19,12 @@ DEFINE('NEXT_PAGE', 'Next'); $message_id = ''; - $commit_id = ''; $page = ''; $page_size = ''; if (IsSet($_GET['message_id'])) $message_id = pg_escape_string($_GET['message_id']); - if (IsSet($_GET['commit_id'])) $commit_id = pg_escape_string($_GET['commit_id']); if (IsSet($_GET['revision'])) $revision = pg_escape_string($_GET['revision']); - # I'm quite sure we use only message_id, and never commit_id. if ($message_id != '') { require_once($_SERVER['DOCUMENT_ROOT'] . '/../classes/commit.php'); @@ -155,7 +152,7 @@ function freshports_CommitNextPreviousPage($URL, $NumRowsTotal, $PageNo, $PageSi