View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025952 | mantisbt | code cleanup | public | 2019-08-02 14:02 | 2019-08-25 12:36 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | tweak | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Target Version | 2.22.0 | Fixed in Version | 2.22.0 | ||
Summary | 0025952: MantisGraph: define Chart.js-related constants in the plugin | ||||
Description | The library is only used by the MantisGraph plugin, so it makes more sense to define the related constants within the plugin's class, instead of doing it in constants_inc.php. This facilitates maintenance when the library needs to be upgraded (all significant changes happen in the Plugin's class). | ||||
Tags | No tags attached. | ||||
MantisBT: master 5d9a4f31 2019-08-01 02:55 Details Diff |
Define Chart.js constants in MantisGraph plugin The library is only used by the MantisGraph plugin, so it makes more sense to define the related constants within the plugin's class, instead of doing it in constants_inc.php. Fixes 0025952 |
Affected Issues 0025952 |
|
mod - core/constant_inc.php | Diff File | ||
mod - plugins/MantisGraph/MantisGraph.php | Diff File |