MantisBT: master 0e9e169c

Author Committer Branch Timestamp Parent
dregad dregad master 2026-07-20 13:50 master f67049d8
Affected Issues  0037319: Duplicated code in MantisGraph plugin's graph_api.php
Changeset

Remove duplicated code in graph_api.php

create_developer_resolved_summary() and create_developer_open_summary()
MantisGraph plugin functions are nearly identical, differing only by
a condition in the SQL query where clause.

This commit combines them into a single one, leveraging DbQuery to
dynamically build the SQL based on the summary type (open/resolved).

Fixes 0037319

mod - plugins/MantisGraph/core/graph_api.php Diff File
mod - plugins/MantisGraph/pages/developer_graph.php Diff File