about summary refs log tree commit homepage
path: root/lib/PublicInbox/WWW.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-10-21 11:22:24 +0000
committerEric Wong <e@80x24.org>2019-10-22 06:49:27 +0000
commit7df78fd98370832e5dcb22863dfa4f044fa21f20 (patch)
tree9d675563eb67aab5524b8ec131199cece7cb15bd /lib/PublicInbox/WWW.pm
parent0cd5d6c4aed766d8dbfa8d309d372fee20689e84 (diff)
downloadpublic-inbox-7df78fd98370832e5dcb22863dfa4f044fa21f20.tar.gz
This hasn't been used since commit 48b21cb662c1e17b7 in 2016:
("declare Inbox object for reusability")
Diffstat (limited to 'lib/PublicInbox/WWW.pm')
-rw-r--r--lib/PublicInbox/WWW.pm7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm
index d0b9f387..4b7177c1 100644
--- a/lib/PublicInbox/WWW.pm
+++ b/lib/PublicInbox/WWW.pm
@@ -300,13 +300,6 @@ sub get_vcs_object ($$$;$) {
         PublicInbox::ViewVCS::show($ctx, $oid, $filename);
 }
 
-sub ctx_get {
-        my ($ctx, $key) = @_;
-        my $val = $ctx->{$key};
-        (defined $val && $val ne '') or die "BUG: bad ctx, $key unusable";
-        $val;
-}
-
 sub need {
         my ($ctx, $extra) = @_;
         my $msg = <<EOF;