frontend-servlet
diff --git a/java/google/registry/module/frontend/FrontendRequestComponent.java b/java/google/registry/module/frontend/FrontendRequestComponent.java
index 52d504b54..118343789 100644
--- a/java/google/registry/module/frontend/FrontendRequestComponent.java
+++ b/java/google/registry/module/frontend/FrontendRequestComponent.java
@@ -40,7 +40,6 @@ import google.registry.request.RequestScope;
import google.registry.ui.server.registrar.ConsoleUiAction;
import google.registry.ui.server.registrar.RegistrarPaymentAction;
import google.registry.ui.server.registrar.RegistrarPaymentSetupAction;
-import google.registry.ui.server.registrar.RegistrarPremiumPriceAckAction;
import google.registry.ui.server.registrar.RegistrarSettingsAction;
import google.registry.whois.WhoisAction;
import google.registry.whois.WhoisHttpAction;
@@ -67,7 +66,6 @@ interface FrontendRequestComponent {
RdapAutnumAction rdapAutnumAction();
RegistrarPaymentAction registrarPaymentAction();
RegistrarPaymentSetupAction registrarPaymentSetupAction();
- RegistrarPremiumPriceAckAction registrarPremiumPriceAckAction();
RegistrarSettingsAction registrarSettingsAction();
RdapDomainAction rdapDomainAction();
RdapDomainSearchAction rdapDomainSearchAction();
diff --git a/java/google/registry/ui/js/registrar/resources.js b/java/google/registry/ui/js/registrar/resources.js
index a5e393725..003636b90 100644
--- a/java/google/registry/ui/js/registrar/resources.js
+++ b/java/google/registry/ui/js/registrar/resources.js
@@ -37,7 +37,7 @@ registry.registrar.Resources = function(console, xsrfToken) {
this,
'constructor',
console,
- new registry.Resource(new goog.Uri('/registrar-premium-price-ack'), xsrfToken),
+ new registry.Resource(new goog.Uri('/registrar-settings'), xsrfToken),
registry.soy.registrar.console.resources,
null);
};
diff --git a/java/google/registry/ui/server/registrar/RegistrarPremiumPriceAckAction.java b/java/google/registry/ui/server/registrar/RegistrarPremiumPriceAckAction.java
deleted file mode 100644
index 5079f4560..000000000
--- a/java/google/registry/ui/server/registrar/RegistrarPremiumPriceAckAction.java
+++ /dev/null
@@ -1,170 +0,0 @@
-// Copyright 2017 The Nomulus Authors. All Rights Reserved.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-package google.registry.ui.server.registrar;
-
-import static google.registry.model.ofy.ObjectifyService.ofy;
-import static google.registry.security.JsonResponseHelper.Status.ERROR;
-import static google.registry.security.JsonResponseHelper.Status.SUCCESS;
-import static google.registry.ui.server.registrar.RegistrarSettingsAction.ARGS_PARAM;
-import static google.registry.ui.server.registrar.RegistrarSettingsAction.OP_PARAM;
-
-import com.google.common.collect.ImmutableList;
-import com.google.common.collect.ImmutableMap;
-import google.registry.config.RegistryConfig.Config;
-import google.registry.export.sheet.SyncRegistrarsSheetAction;
-import google.registry.model.registrar.Registrar;
-import google.registry.request.Action;
-import google.registry.request.HttpException.BadRequestException;
-import google.registry.request.JsonActionRunner;
-import google.registry.request.auth.Auth;
-import google.registry.request.auth.AuthResult;
-import google.registry.security.JsonResponseHelper;
-import google.registry.ui.forms.FormException;
-import google.registry.ui.forms.FormFieldException;
-import google.registry.ui.server.RegistrarFormFields;
-import google.registry.util.CollectionUtils;
-import google.registry.util.DiffUtils;
-import java.util.Map;
-import java.util.Optional;
-import java.util.Set;
-import javax.inject.Inject;
-import javax.servlet.http.HttpServletRequest;
-
-/**
- * Action handler for toggling the "Premium Price Ack Required" flag.
- *
- * This class exists to supplement RegistrarSettings, which is supposed to take care of
- * everything but mostly doesn't work.
- */
-@Action(
- path = RegistrarPremiumPriceAckAction.PATH,
- method = Action.Method.POST,
- auth = Auth.AUTH_PUBLIC_LOGGED_IN
-)
-public class RegistrarPremiumPriceAckAction implements Runnable, JsonActionRunner.JsonAction {
- public static final String PATH = "/registrar-premium-price-ack";
-
- @Inject AuthResult authResult;
- @Inject HttpServletRequest request;
- @Inject JsonActionRunner jsonActionRunner;
- @Inject SendEmailUtils sendEmailUtils;
- @Inject SessionUtils sessionUtils;
-
- @Inject
- @Config("registrarChangesNotificationEmailAddresses")
- ImmutableList registrarChangesNotificationEmailAddresses;
-
- @Inject
- RegistrarPremiumPriceAckAction() {}
-
- @Override
- public void run() {
- jsonActionRunner.run(this);
- }
-
- @Override
- public Map handleJsonRequest(Map input) {
- if (input == null) {
- throw new BadRequestException("Malformed JSON");
- }
-
- // Get the registrar
- Registrar initialRegistrar = sessionUtils.getRegistrarForAuthResult(request, authResult);
-
- // Process the operation. Though originally derived from a CRUD handler, registrar-settings
- // and registrar-premium-price-action really only support read and update.
- String op = Optional.ofNullable((String) input.get(OP_PARAM)).orElse("read");
- @SuppressWarnings("unchecked")
- Map args =
- (Map)
- Optional.