MantisBT: master ef635829

Author Committer Branch Timestamp Parent
dregad dregad master 2024-12-29 18:59 master 40f71cf3
Affected Issues  0035211: Core should allow detecting whether a config is set in the database
Changeset

New config_is_set_in_database() API function

Same as existing config_is_set(), except that it returns false if there
is not override for the config in the database (i.e. it does not check
the default value from config files.

This is is needed so that PHPUnit tests are able to change config values
and then restore the database to its previous state afterwards.

Fixes 0035211

mod - core/config_api.php Diff File