diff options
author | Eric Wong <e@80x24.org> | 2016-07-07 01:39:36 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-07-07 01:41:03 +0000 |
commit | 8e85257577ee4d7d49e59f048852d9d4ac6f8172 (patch) | |
tree | 83b62c2c283df344a6884cc45a5e16aad5c2196b /lib/PublicInbox/WWW.pm | |
parent | 0cdb0320181606c9b663aa8e37d69a79bff6f3a1 (diff) | |
download | public-inbox-8e85257577ee4d7d49e59f048852d9d4ac6f8172.tar.gz |
This fixes some layering violations and consolidates the cleanup into the inbox object itself. Keeping in mind weakening does not work at all without our PSGI server.
Diffstat (limited to 'lib/PublicInbox/WWW.pm')
-rw-r--r-- | lib/PublicInbox/WWW.pm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm index 54253086..5de5ffee 100644 --- a/lib/PublicInbox/WWW.pm +++ b/lib/PublicInbox/WWW.pm @@ -148,8 +148,6 @@ sub invalid_inbox { if (defined $obj) { $ctx->{git_dir} = $obj->{mainrepo}; $ctx->{git} = $obj->git; - # for PublicInbox::HTTP::weaken_task: - $ctx->{env}->{'pi-httpd.inbox'} = $obj; $ctx->{-inbox} = $obj; $ctx->{inbox} = $inbox; return; |