commit b2e348702b5c9d77be08282260342b49376465ba
Author: Richard Mansfield <email address hidden>
Date: Tue Nov 8 14:39:18 2011 +1300
Read entire _config table on call to get_config_plugin (bug #887400)
get_config_plugin only pulls in records from the given plugin, but it
might as well read the entire (tiny) table, so that for example the
following two calls result in one query rather than two:
get_plugin_config('artefact', 'internal', 'profilemandatory')
get_plugin_config('artefact', 'file', 'defaultquota')
Change-Id: I28d74179330178a40d4787bdb9e8e4ed1e0a0e60
Signed-off-by: Richard Mansfield <email address hidden>
Reviewed: https:/ /reviews. mahara. org/835 gitorious. org/mahara/ mahara/ commit/ b2e348702b5c9d7 7be08282260342b 49376465ba
Committed: http://
Submitter: Francois Marier (<email address hidden>)
Branch: master
commit b2e348702b5c9d7 7be08282260342b 49376465ba
Author: Richard Mansfield <email address hidden>
Date: Tue Nov 8 14:39:18 2011 +1300
Read entire _config table on call to get_config_plugin (bug #887400)
get_ config_ plugin only pulls in records from the given plugin, but it plugin_ config( 'artefact' , 'internal', 'profilemandatory') plugin_ config( 'artefact' , 'file', 'defaultquota')
might as well read the entire (tiny) table, so that for example the
following two calls result in one query rather than two:
get_
get_
Change-Id: I28d74179330178 a40d4787bdb9e8e 4ed1e0a0e60
Signed-off-by: Richard Mansfield <email address hidden>