From c11b241b985511c01803df200d31afb793f11903 Mon Sep 17 00:00:00 2001 From: Koosha KM Date: Thu, 11 Sep 2014 13:55:01 +0000 Subject: Bug 1064933: Bugzilla.pm does not compile without Text::Markdown r=glob,a=sgreen --- Bugzilla.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Bugzilla.pm') diff --git a/Bugzilla.pm b/Bugzilla.pm index 7d935db48..af670e90f 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -398,6 +398,8 @@ sub logout_request { } sub markdown { + return if !Bugzilla->feature('markdown'); + require Bugzilla::Markdown; return $_[0]->request_cache->{markdown} ||= Bugzilla::Markdown->new(); } -- cgit v1.2.3-24-g4f1b