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:
David Pursehouse 2015-06-25 12:12:21 +09:00
parent 81e5077c55
commit 462f4ac028

View File

@ -169,7 +169,7 @@ public class Submit implements RestModifyView<RevisionResource, SubmitInput>,
this.titlePattern = new ParameterizedString(MoreObjects.firstNonNull(
cfg.getString("change", null, "submitTooltip"),
DEFAULT_TOOLTIP));
submitWholeTopic = cfg.getBoolean("change", null, "submitWholeTopic" , false);
submitWholeTopic = false;
this.submitTopicLabel = MoreObjects.firstNonNull(
Strings.emptyToNull(cfg.getString("change", null, "submitTopicLabel")),
"Submit whole topic");