View Issue Details

IDProjectCategoryView StatusLast Update
0030278mantisbtcode cleanuppublic2023-10-31 16:32
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Target Version2.26.0Fixed in Version2.26.0 
Summary0030278: Removing unused CUSTOM_FIELD_TYPE_xxx constants
Description

The following constants are not referenced anywhere in the code base throughout the Git history since they were introduced, in 2008 commit MantisBT master 1893e47e

  • CUSTOM_FIELD_TYPE_BUG
  • CUSTOM_FIELD_TYPE_USER
  • CUSTOM_FIELD_TYPE_BUGNOTE
  • CUSTOM_FIELD_TYPE_PROJECT
  • CUSTOM_FIELD_TYPE_FILE

Furthermore, their values are conflicting with other (valid) CUSTOM_FIELD_TYPE constants.

TagsNo tags attached.

Activities

Related Changesets

MantisBT: master 1893e47e

2008-02-23 12:54

Paul Richards


Details Diff
Squashed commit of the following:

commit <a class="text" href="/?p=mantisbt.git;a=object;h=ac6cd1fda123ab4c039e3a3430432c597492e5f3">ac6cd1fda123ab4c039e3a3430432c597492e5f3</a>
Author: Paul <grangeway@blueyonder.co.uk>
Date: Sat Feb 23 17:47:06 2008 +0000

fix postgres

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@5045 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0030278
mod - core/plugin_api.php Diff File
mod - core/constant_inc.php Diff File

MantisBT: i30278-remove-cftype-const a172b481

2022-05-17 09:21

dregad


Details Diff
Removing unused CUSTOM_FIELD_TYPE_* constants

The following constants are not referenced anywhere in the code base
throughout the Git history since they were introduced, in 2008 commit
1893e47e736dbd6d52693967e297a656ffb0db77.

- CUSTOM_FIELD_TYPE_BUG
- CUSTOM_FIELD_TYPE_USER
- CUSTOM_FIELD_TYPE_BUGNOTE
- CUSTOM_FIELD_TYPE_PROJECT
- CUSTOM_FIELD_TYPE_FILE

Furthermore, their values are conflicting with other CUSTOM_FIELD_TYPE
constants.

Fixes 0030278
Affected Issues
0030278
mod - core/constant_inc.php Diff File