Disabled preferences are taken into account anyway
Closed, ResolvedPublic


In 1.17, disabled preferences aren't shown in Special:Preferences, but they do seem to be loaded and have their previously set values returned from User::getOption().

Version: 1.17.x
Severity: normal

bzimport set Reference to bz27403.
Catrope created this task.Via LegacyFeb 14 2011, 6:55 PM
bzimport added a comment.Via ConduitMar 17 2011, 9:11 PM

happy.melon.wiki wrote:

Are you saying that disabled preferences should be left in the database (unless the preference is ever re-enabled), but that User::getOption() should return the default value of the preference for all users if it's disabled? That should be fairly easy to implement...

bzimport added a comment.Via ConduitMar 18 2011, 1:03 PM

happy.melon.wiki wrote:

Fixed in r84233.

Add Comment