]> Sergey Matveev's repositories - public-inbox.git/commitdiff
www: get rid of unnecessary 'inbox' name reference
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Mon, 26 Mar 2018 19:15:10 +0000 (19:15 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Tue, 27 Mar 2018 02:34:25 +0000 (02:34 +0000)
We use the actual Inbox object everywhere else and don't
need the name of the inbox separated from the object.

lib/PublicInbox/WWW.pm

index 7bf866f168670e8263fa52b4df4e9c07388dcf60..f5ed271e3af064b7d7aa0fd781de55570cb6c9ec 100644 (file)
@@ -152,7 +152,6 @@ sub invalid_inbox ($$) {
        if (defined $obj) {
                $ctx->{git} = $obj->git;
                $ctx->{-inbox} = $obj;
-               $ctx->{inbox} = $inbox;
                return;
        }