diff options
Diffstat (limited to 'extensions/Example/Extension.pm')
-rw-r--r-- | extensions/Example/Extension.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extensions/Example/Extension.pm b/extensions/Example/Extension.pm index 8eef19a6e..d7b892cfa 100644 --- a/extensions/Example/Extension.pm +++ b/extensions/Example/Extension.pm @@ -724,10 +724,12 @@ sub _check_short_desc { my $invocant = shift; my $value = $invocant->$original(@_); if ($value !~ /example/i) { - # Uncomment this line to make Bugzilla throw an error every time + # Use this line to make Bugzilla throw an error every time # you try to file a bug or update a bug without the word "example" # in the summary. - #ThrowUserError('example_short_desc_invalid'); + if (0) { + ThrowUserError('example_short_desc_invalid'); + } } return $value; } |