Skip to content

Commit

Permalink
Fix #12094: ERROR_BUG_READ_ONLY_ACTION_DENIED is not obsoleted
Browse files Browse the repository at this point in the history
ERROR_BUG_READ_ONLY_ACTION_DENIED is marked as obsolete when it isn't
obsolete at all - it's used in many places throughout the MantisBT
codebase.

On the other hand ERROR_BUG_RESOLVED_ACTION_DENIED isn't used anywhere
within the MantisBT codebase and no language strings exist for this
error code.
  • Loading branch information
davidhicks committed Jun 23, 2010
1 parent 00e60da commit ecc102e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions core/constant_inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,10 @@
# ERROR_BUG_*
define( 'ERROR_BUG_NOT_FOUND', 1100 );
define( 'ERROR_BUG_DUPLICATE_SELF', 1101 );
define( 'ERROR_BUG_RESOLVED_ACTION_DENIED', 1102 );
define( 'ERROR_BUG_REVISION_NOT_FOUND', 1150 );

// @@@ obsolete, remove after lang files are sync'd
# Obsoleted
#define( 'ERROR_BUG_RESOLVED_ACTION_DENIED', 1102 );
define( 'ERROR_BUG_READ_ONLY_ACTION_DENIED', 1103 );
define( 'ERROR_BUG_REVISION_NOT_FOUND', 1150 );

# ERROR_EMAIL_*
define( 'ERROR_EMAIL_INVALID', 1200 );
Expand Down

0 comments on commit ecc102e

Please sign in to comment.