Comment 2 for bug 887400

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/836
Committed: http://gitorious.org/mahara/mahara/commit/3d2ccd763cb8603f2c5f3ae03d221495061472bc
Submitter: Francois Marier (<email address hidden>)
Branch: master

commit 3d2ccd763cb8603f2c5f3ae03d221495061472bc
Author: Richard Mansfield <email address hidden>
Date: Tue Nov 8 15:18:28 2011 +1300

    Cache undefined config values in get_config_plugin (bug #887400)

    When a plugin config value has not been set, multiple calls to
    get_config_plugin always trigger a db query. But if it's already
    queried once and found a null result, it should remember that for
    next time.

    Change-Id: Id955e0953131b83eba4e36face26bfb4ef828d26
    Signed-off-by: Richard Mansfield <email address hidden>