diff options
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 11521749e..7001de0e8 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -189,6 +189,9 @@ use Memoize; PRIVILEGES_REQUIRED_REPORTER PRIVILEGES_REQUIRED_ASSIGNEE PRIVILEGES_REQUIRED_EMPOWERED + + AUDIT_CREATE + AUDIT_REMOVE ); @Bugzilla::Constants::EXPORT_OK = qw(contenttypes); @@ -575,6 +578,11 @@ use constant PRIVILEGES_REQUIRED_REPORTER => 1; use constant PRIVILEGES_REQUIRED_ASSIGNEE => 2; use constant PRIVILEGES_REQUIRED_EMPOWERED => 3; +# Special field values used in the audit_log table to mean either +# "we just created this object" or "we just deleted this object". +use constant AUDIT_CREATE => '__create__'; +use constant AUDIT_REMOVE => '__remove__'; + sub bz_locations { # We know that Bugzilla/Constants.pm must be in %INC at this point. # So the only question is, what's the name of the directory |