Submit: Disable the 'submitWholeTopic' feature
The 'submitWholeTopic' feature is not ready for use on 2.11.x but the option was still being honoured. Ignore the option; force the feature to always be disabled. Note that this patch should be reverted when stable-2.11 is merged up to master. Change-Id: I2eba40636edec16af1c3161416d95a88743e6648
This commit is contained in:
parent
81e5077c55
commit
462f4ac028
@ -169,7 +169,7 @@ public class Submit implements RestModifyView<RevisionResource, SubmitInput>,
|
|||||||
this.titlePattern = new ParameterizedString(MoreObjects.firstNonNull(
|
this.titlePattern = new ParameterizedString(MoreObjects.firstNonNull(
|
||||||
cfg.getString("change", null, "submitTooltip"),
|
cfg.getString("change", null, "submitTooltip"),
|
||||||
DEFAULT_TOOLTIP));
|
DEFAULT_TOOLTIP));
|
||||||
submitWholeTopic = cfg.getBoolean("change", null, "submitWholeTopic" , false);
|
submitWholeTopic = false;
|
||||||
this.submitTopicLabel = MoreObjects.firstNonNull(
|
this.submitTopicLabel = MoreObjects.firstNonNull(
|
||||||
Strings.emptyToNull(cfg.getString("change", null, "submitTopicLabel")),
|
Strings.emptyToNull(cfg.getString("change", null, "submitTopicLabel")),
|
||||||
"Submit whole topic");
|
"Submit whole topic");
|
||||||
|
Loading…
Reference in New Issue
Block a user