summaryrefslogtreecommitdiffstats
path: root/docs/en/rst/integrating/extensions.rst
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-09-24 23:27:12 +0200
committerKohei Yoshino <kohei.yoshino@gmail.com>2018-09-26 19:23:39 +0200
commit09dd4d3192073ba9ecc7feb8a5dfcd213affd525 (patch)
tree72431fb524edf6e92afd63237e56f229217c3257 /docs/en/rst/integrating/extensions.rst
parent03d03939f90f2a258d9a4840eaa9af16fca7581f (diff)
downloadbugzilla-09dd4d3192073ba9ecc7feb8a5dfcd213affd525.tar.gz
bugzilla-09dd4d3192073ba9ecc7feb8a5dfcd213affd525.tar.xz
Bug 1493500 - Remove all trailing whitespaces from all files
Diffstat (limited to 'docs/en/rst/integrating/extensions.rst')
-rw-r--r--docs/en/rst/integrating/extensions.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/en/rst/integrating/extensions.rst b/docs/en/rst/integrating/extensions.rst
index 50f204746..e9ae48630 100644
--- a/docs/en/rst/integrating/extensions.rst
+++ b/docs/en/rst/integrating/extensions.rst
@@ -49,7 +49,7 @@ To add new fields to a bug, you need to do the following:
my $field = new Bugzilla::Field({ name => $name });
return if $field;
-
+
$field = Bugzilla::Field->create({
name => $name,
description => $description,
@@ -67,12 +67,12 @@ To add new fields to a bug, you need to do the following:
.. code-block:: perl
- BEGIN {
- *Bugzilla::Bug::is_foopy = \&_bug_is_foopy;
+ BEGIN {
+ *Bugzilla::Bug::is_foopy = \&_bug_is_foopy;
}
-
+
...
-
+
sub _bug_is_foopy {
return $_[0]->{'is_foopy'};
}