View Issue Details

IDProjectCategoryView StatusLast Update
0017378mantisbtcode cleanuppublic2014-12-08 00:34
ReportergrangewayAssigned Tograngeway 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version 
Target Version1.3.0-beta.1Fixed in Version1.3.0-beta.1 
Summary0017378: Reduce unneeded global Variables: g_api_included

$g_api_included is defined as a global variable. It's only use is within the require_api() function, and therefore can be implemented as a static variable within this function.

This reduces the number of variables within the global scope

TagsNo tags attached.


There are no notes attached to this issue.

Related Changesets

MantisBT: master 35ad2b52

2014-05-29 09:02:47


Details Diff
Merge pull request 0000184 from grangeway/17378

Fix 0017378: Reduce unneeded global Variables: g_api_included
Affected Issues
mod - core.php Diff File

Issue History

Date Modified Username Field Change
2014-05-26 11:16 grangeway New Issue
2014-05-28 18:41 grangeway Status new => assigned
2014-05-28 18:41 grangeway Assigned To => grangeway
2014-05-29 09:03 grangeway Status assigned => resolved
2014-05-29 09:03 grangeway Fixed in Version => 1.3.0-beta.1
2014-05-29 09:03 grangeway Resolution open => fixed
2014-05-29 09:06 grangeway Changeset attached => MantisBT master 35ad2b52
2014-05-29 16:12 atrol Target Version => 1.3.0-beta.1
2014-12-08 00:34 vboctor Status resolved => closed