From: Eric Wong (Contractor, The Linux Foundation) Date: Mon, 26 Mar 2018 19:15:10 +0000 (+0000) Subject: www: get rid of unnecessary 'inbox' name reference X-Git-Tag: v1.1.0-pre1~121 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=d0a0d7a3c59c512f3762e8850bdacd8a4395bae9 www: get rid of unnecessary 'inbox' name reference We use the actual Inbox object everywhere else and don't need the name of the inbox separated from the object. --- diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm index 7bf866f1..f5ed271e 100644 --- a/lib/PublicInbox/WWW.pm +++ b/lib/PublicInbox/WWW.pm @@ -152,7 +152,6 @@ sub invalid_inbox ($$) { if (defined $obj) { $ctx->{git} = $obj->git; $ctx->{-inbox} = $obj; - $ctx->{inbox} = $inbox; return; }