Remove call of ctx.saveChange() from example in plugin documentation

In change I3d8b13 this method was renamed to
ctx.bumpLastUpdatedOn(boolean). Calling it is no longer needed since
the default for bumping the last updated on timestamp was changed to
true by the same change.

Change-Id: Ia8a4dd844fdad077c1173f4707f1bfe86aec4729
Signed-off-by: Edwin Kempin <ekempin@google.com>
(cherry picked from commit 23033b634d70e338e1a5b837033bcdd003342df6)
This commit is contained in:
Edwin Kempin 2016-10-28 10:03:48 +02:00 committed by David Pursehouse
parent badc263bf4
commit b671709b8e

View File

@ -1277,7 +1277,6 @@ public Object apply(RevisionResource rcrs, Input in) {
bu.addOp(change.getId(), new BatchUpdate.Op() {
@Override
public boolean updateChange(BatchUpdate.ChangeContext ctx) {
ctx.saveChange();
return true;
}
});