summaryrefslogtreecommitdiffstats
path: root/Bugzilla/RelationSet.pm
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2004-03-18 12:57:04 +0100
committerjustdave%syndicomm.com <>2004-03-18 12:57:04 +0100
commit3d59b2bd807ec35c511fd76df11b2cbb61289242 (patch)
treef3071da3563a70dd4c88ea0fa5505eef4baf4385 /Bugzilla/RelationSet.pm
parent962c6c28c25c354d7b3757f1b3cb3665cbde14b0 (diff)
downloadbugzilla-3d59b2bd807ec35c511fd76df11b2cbb61289242.tar.gz
bugzilla-3d59b2bd807ec35c511fd76df11b2cbb61289242.tar.xz
Bug 192516: Moving the loose .pm files into the Bugzilla directory, where they belong. These files pre-date the Bugzilla directory, and would have gone there had it existed at the time. The four files in question were copied on the CVS server to preserve CVS history in the files. This checkin deletes them from the old location and modifies everything else to know where they are now.
r= myk, gerv a= justdave
Diffstat (limited to 'Bugzilla/RelationSet.pm')
-rw-r--r--Bugzilla/RelationSet.pm17
1 files changed, 9 insertions, 8 deletions
diff --git a/Bugzilla/RelationSet.pm b/Bugzilla/RelationSet.pm
index f2f822fc4..628746352 100644
--- a/Bugzilla/RelationSet.pm
+++ b/Bugzilla/RelationSet.pm
@@ -31,15 +31,16 @@
use strict;
-# Everything that uses RelationSet should already have globals.pl loaded
-# so we don't want to load it here. Doing so causes a loop in Perl because
-# globals.pl turns around and does a 'use RelationSet'
+# XXX - mod_perl
+# Everything that uses Bugzilla::RelationSet should already have globals.pl
+# loaded so we don't want to load it here. Doing so causes a loop in Perl
+# because globals.pl turns around and does a 'use Bugzilla::RelationSet'
# See http://bugzilla.mozilla.org/show_bug.cgi?id=72862
-#require "globals.pl";
+#require "../globals.pl";
-package RelationSet;
+package Bugzilla::RelationSet;
-# create a new empty RelationSet
+# create a new empty Bugzilla::RelationSet
#
sub new {
my $type = shift();
@@ -60,7 +61,7 @@ sub new {
confess("invalid number of arguments");
}
- # bless as a RelationSet
+ # bless as a Bugzilla::RelationSet
#
return $self;
}
@@ -81,7 +82,7 @@ sub generateSqlDeltas {
my ( $self, # instance ptr to set representing the existing state
$endState, # instance ptr to set representing the desired state
$table, # table where these relations are kept
- $invariantName, # column held const for a RelationSet (often "bug_id")
+ $invariantName, # column held const for a Bugzilla::RelationSet (often "bug_id")
$invariantValue, # what to hold the above column constant at
$columnName # the column which varies (often a userid)
) = @_;