summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Markdown.pm
diff options
context:
space:
mode:
authorKoosha KM <koosha.khajeh@gmail.com>2014-09-11 15:55:01 +0200
committerDavid Lawrence <dkl@mozilla.com>2014-09-11 15:55:01 +0200
commitc11b241b985511c01803df200d31afb793f11903 (patch)
tree2a0ab29fd9f6ea126813b7e98cb1164931534cde /Bugzilla/Markdown.pm
parente1603d01bbc3523b622db2f295400aa5a5f14509 (diff)
downloadbugzilla-c11b241b985511c01803df200d31afb793f11903.tar.gz
bugzilla-c11b241b985511c01803df200d31afb793f11903.tar.xz
Bug 1064933: Bugzilla.pm does not compile without Text::Markdown
r=glob,a=sgreen
Diffstat (limited to 'Bugzilla/Markdown.pm')
-rw-r--r--Bugzilla/Markdown.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/Markdown.pm b/Bugzilla/Markdown.pm
index 6cbe0f6c4..5f1a7d955 100644
--- a/Bugzilla/Markdown.pm
+++ b/Bugzilla/Markdown.pm
@@ -62,8 +62,7 @@ sub markdown {
my $text = shift;
my $user = Bugzilla->user;
- if (Bugzilla->feature('markdown')
- && $user->settings->{use_markdown}->{is_enabled}
+ if ($user->settings->{use_markdown}->{is_enabled}
&& $user->setting('use_markdown') eq 'on')
{
return $self->SUPER::markdown($text, @_);