=head1 NAME
-Bugzilla::Config - Configuration paramaters for Bugzilla
+Bugzilla::Config - Configuration parameters for Bugzilla
=head1 SYNOPSIS
- # Getting paramaters
+ # Getting parameters
use Bugzilla::Config;
my $fooSetting = Param('foo');
=item C<GetParamList()>
-Returns the list of known paramater types, from defparams.pl. Users should not
+Returns the list of known parameter types, from defparams.pl. Users should not
rely on this method; it is intended for editparams/doeditparams only
The format for the list is specified in defparams.pl
# The |require "globals.pl"| above ends up creating a template object with
# a COMPILE_DIR of 'data'. This means that TT creates the directory for us,
-# so this code wouldn't run if we just checked for the existance of the
-# directory. Instead, check for the existance of 'data/nomail', which is
+# so this code wouldn't run if we just checked for the existence of the
+# directory. Instead, check for the existence of 'data/nomail', which is
# created in this block
unless (-d 'data' && -e 'data/nomail') {
print "Creating data directory ...\n";
}
# GetBugLink creates a link to a bug, including its title.
-# It takes either two or three paramaters:
+# It takes either two or three parameters:
# - The bug number
# - The link text, to place between the <a>..</a>
# - An optional comment number, for linking to a particular
}
# Determines if the given bug_status string represents an "Opened" bug. This
-# routine ought to be paramaterizable somehow, as people tend to introduce
+# routine ought to be parameterizable somehow, as people tend to introduce
# new states into Bugzilla.
sub IsOpenedState {
SendSQL("SELECT who FROM cc WHERE bug_id = " . SqlQuote($duplicate) . " and who = $reporter");
my $isoncc = FetchOneColumn();
unless ($isreporter || $isoncc || ! $::FORM{'confirm_add_duplicate'}) {
- # The reporter is oblivious to the existance of the new bug and is permitted access
+ # The reporter is oblivious to the existence of the new bug and is permitted access
# ... add 'em to the cc (and record activity)
LogActivityEntry($duplicate,"cc","",DBID_to_name($reporter));
SendSQL("INSERT INTO cc (who, bug_id) VALUES ($reporter, " . SqlQuote($duplicate) . ")");