Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #850362 ยป 0005-Drop-settings_consider_all_changed.patch

Marko Lindqvist, 2019-12-02 02:28 AM

View differences:

server/settings.c
{
return pset->setdef;
}
/************************************************************************//**
Compatibility function. In the very old times there was no concept of
'default' value outside setting initialization, all values were handled
like we now want to handle non-default ones.
****************************************************************************/
void settings_consider_all_changed(void)
{
settings_iterate(SSET_ALL, pset) {
pset->setdef = SETDEF_CHANGED;
} settings_iterate_end;
}
server/settings.h
void setting_changed(struct setting *pset);
enum setting_default_level setting_get_setdef(const struct setting *pset);
void settings_consider_all_changed(void);
#ifdef __cplusplus
}
    (1-1/1)