aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/docs/coding-guidelines.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html
index 7f747e09e2..1978a0a307 100644
--- a/phpBB/docs/coding-guidelines.html
+++ b/phpBB/docs/coding-guidelines.html
@@ -288,7 +288,7 @@ PHPBB_QA (Set board to QA-Mode, which means the updater also c
<div class="content">
- <p>Please note that these Guidelines applies to all php, html, javascript and css files.</p>
+ <p>Please note that these guidelines apply to all php, html, javascript and css files.</p>
<a name="namingvars"></a><h3>2.i. Variable/Function Naming</h3>
d> parentb2c6da11f402dfa9536be91fc360a4b57daf3cd9 (diff)downloadperl-URPM-b10406e38b62bbe9eab737dc0e755d55c8965913.tar
perl-URPM-b10406e38b62bbe9eab737dc0e755d55c8965913.tar.gz
perl-URPM-b10406e38b62bbe9eab737dc0e755d55c8965913.tar.bz2
perl-URPM-b10406e38b62bbe9eab737dc0e755d55c8965913.tar.xz
perl-URPM-b10406e38b62bbe9eab737dc0e755d55c8965913.zip
applying similar styling to other callers
Diffstat
-rw-r--r--URPM.xs6
1 files changed, 2 insertions, 4 deletions
diff --git a/URPM.xs b/URPM.xs
index 638a90f..0ecebaf 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2415,9 +2415,8 @@ Db_traverse(db,callback)
ovsflags = ts_nosignature(db->ts);
mi = rpmtsInitIterator(db->ts, RPMDBI_PACKAGES, NULL, 0);
while ((header = rpmdbNextIterator(mi))) {
- if (SvROK(callback)) {
+ if (SvROK(callback))
_run_cb_while_traversing(callback, header, G_DISCARD);
- }
++count;
}
rpmdbFreeIterator(mi);
@@ -2453,9 +2452,8 @@ Db_traverse_tag(db,tag,names,callback)
ovsflags = ts_nosignature(db->ts);
mi = rpmtsInitIterator(db->ts, rpmtag, name, str_len);
while ((header = rpmdbNextIterator(mi))) {
- if (SvROK(callback)) {
+ if (SvROK(callback))
_run_cb_while_traversing(callback, header, G_DISCARD);
- }
++count;
}
(void)rpmdbFreeIterator(mi);