about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-05-28 01:57:12 +0000
committerEric Wong <e@80x24.org>2016-05-28 01:57:37 +0000
commitb8a44a8bf2356c1fc474b119b713d7e7df365a4a (patch)
tree12ec46ef4f76155313c1a61c7cd057b0e9cad21f
parentb92d85cf9a7222ca0c20c0bf4d23eff6965cf2da (diff)
downloadpublic-inbox-b8a44a8bf2356c1fc474b119b713d7e7df365a4a.tar.gz
I haven't used it in a while and the existing "description"
is probably good enough.

If we support it again, it should be plain-text + auto-linkified
for ease-of-maintenance and consistency.
-rw-r--r--lib/PublicInbox/Inbox.pm10
-rw-r--r--lib/PublicInbox/WWW.pm2
2 files changed, 0 insertions, 12 deletions
diff --git a/lib/PublicInbox/Inbox.pm b/lib/PublicInbox/Inbox.pm
index 4bcab96f..c07aaa9f 100644
--- a/lib/PublicInbox/Inbox.pm
+++ b/lib/PublicInbox/Inbox.pm
@@ -64,16 +64,6 @@ sub cloneurl {
         $self->{cloneurl} = \@url;
 }
 
-# TODO: can we remove this?
-sub footer_html {
-        my ($self) = @_;
-        my $footer = $self->{footer};
-        return $footer if defined $footer;
-        $footer = try_cat("$self->{mainrepo}/public-inbox/footer.html");
-        chomp $footer;
-        $self->{footer} = $footer;
-}
-
 sub base_url {
         my ($self, $prq) = @_; # Plack::Request
         if (defined $prq) {
diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm
index 5b4d6c18..e8f1fbf0 100644
--- a/lib/PublicInbox/WWW.pm
+++ b/lib/PublicInbox/WWW.pm
@@ -252,8 +252,6 @@ sub footer {
         my ($ctx) = @_;
         return '' unless $ctx;
         my $obj = $ctx->{-inbox} or return '';
-        my $footer = $obj->footer_html;
-        return $ctx->{footer} = $footer if $footer;
 
         # auto-generate a footer
         chomp(my $desc = $obj->description);