Merge "Fix putTopic hook firing"
This commit is contained in:
commit
2df725626c
@ -101,8 +101,8 @@ public class PutTopic implements RestModifyView<ChangeResource, Input>,
|
||||
@Override
|
||||
public void updateChange(ChangeContext ctx) throws OrmException {
|
||||
change = ctx.getChange();
|
||||
String newTopicName = Strings.nullToEmpty(input.topic);
|
||||
String oldTopicName = Strings.nullToEmpty(change.getTopic());
|
||||
newTopicName = Strings.nullToEmpty(input.topic);
|
||||
oldTopicName = Strings.nullToEmpty(change.getTopic());
|
||||
if (oldTopicName.equals(newTopicName)) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user