summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Constants.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-07-08 03:33:45 +0200
committerlpsolit%gmail.com <>2005-07-08 03:33:45 +0200
commitf20886b99e4b9c77baec231dc9a5fbdfe9faef59 (patch)
treefc28f529657e6160f59e634db50292f54422a5f4 /Bugzilla/Constants.pm
parent7459578f65927f1bd2b44b7a1884ee85cf174be5 (diff)
downloadbugzilla-f20886b99e4b9c77baec231dc9a5fbdfe9faef59.tar.gz
bugzilla-f20886b99e4b9c77baec231dc9a5fbdfe9faef59.tar.xz
Bug 299211: whine.pl fails if derive_groups is required - Patch by Marc Schumann <wurblzap@gmail.com> r=LpSolit a=justdave
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r--Bugzilla/Constants.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm
index b745ad65f..a62629420 100644
--- a/Bugzilla/Constants.pm
+++ b/Bugzilla/Constants.pm
@@ -68,6 +68,8 @@ use base qw(Exporter);
COMMENT_COLS
+ DERIVE_GROUPS_TABLES_ALREADY_LOCKED
+
UNLOCK_ABORT
RELATIONSHIPS
@@ -174,6 +176,10 @@ use constant DEFAULT_QUERY_NAME => '(Default query)';
# The column length for displayed (and wrapped) bug comments.
use constant COMMENT_COLS => 80;
+# Used to indicate to User::new and User::new_from_login calls
+# that the derive_groups tables are already locked
+use constant DERIVE_GROUPS_TABLES_ALREADY_LOCKED => 1;
+
# used by Bugzilla::DB to indicate that tables are being unlocked
# because of error
use constant UNLOCK_ABORT => 1;