MantisBT: master-2.27 cf28aca3

Author Committer Branch Timestamp Parent
dregad dregad master-2.27 2025-05-05 13:17 master-2.27 c33bdc55
Affected Issues  0036164: Impossible to delete a global config defined in the database
Changeset

Allow deleting a Global config option

config_delete() prevents deleting configs defined in $g_global_settings.
This does not make sense: if they are not allowed to be present in the
database, then it should be OK to remove them.

This situation can happen, when a config that was not initially defined
as global, is later added to the $g_global_settings.

Fixes 0036164

mod - core/commands/ConfigsSetCommand.php Diff File
mod - core/config_api.php Diff File