about summary refs log tree commit homepage
path: root/lib/PublicInbox/Config.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-05-28 01:57:13 +0000
committerEric Wong <e@80x24.org>2016-05-28 01:57:38 +0000
commit666b537fb9d3984370d75f16eae43c2ced752963 (patch)
tree53a07397a4d65c9a008da32015f9a58a215d0715 /lib/PublicInbox/Config.pm
parentb8a44a8bf2356c1fc474b119b713d7e7df365a4a (diff)
downloadpublic-inbox-666b537fb9d3984370d75f16eae43c2ced752963.tar.gz
It's moved into the Inbox module and we no longer use it
in WWW
Diffstat (limited to 'lib/PublicInbox/Config.pm')
-rw-r--r--lib/PublicInbox/Config.pm12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm
index 35b24af4..317d290a 100644
--- a/lib/PublicInbox/Config.pm
+++ b/lib/PublicInbox/Config.pm
@@ -5,8 +5,6 @@
 package PublicInbox::Config;
 use strict;
 use warnings;
-use base qw/Exporter/;
-our @EXPORT_OK = qw/try_cat/;
 require PublicInbox::Inbox;
 use PublicInbox::Spawn qw(popen_rd);
 use File::Path::Expand qw/expand_filename/;
@@ -101,16 +99,6 @@ sub git_config_dump {
         \%rv;
 }
 
-sub try_cat {
-        my ($path) = @_;
-        my $rv;
-        if (open(my $fh, '<', $path)) {
-                local $/;
-                $rv = <$fh>;
-        }
-        $rv;
-}
-
 sub _fill {
         my ($self, $pfx) = @_;
         my $rv = {};