get_config_plugin does too many queries
Bug #887400 reported by
Richard Mansfield
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Richard Mansfield |
Bug Description
The get_config_plugin function fails to remember when a query for a particular value returns nothing, and queries the table again on every subsequent call. Also, it can be improved by reading entire <plugintype>_config tables (they're very small) instead of just reading values for one plugin at a time.
Changed in mahara: | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Richard Mansfield (richard-mansfield) |
milestone: | none → 1.5.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
https:/ /reviews. mahara. org/#change, 835 /reviews. mahara. org/#change, 836
https:/