diff --git a/gerrit-common/src/main/java/com/google/gerrit/common/data/AccountService.java b/gerrit-common/src/main/java/com/google/gerrit/common/data/AccountService.java index 18cf657345..5a7559def2 100644 --- a/gerrit-common/src/main/java/com/google/gerrit/common/data/AccountService.java +++ b/gerrit-common/src/main/java/com/google/gerrit/common/data/AccountService.java @@ -34,9 +34,6 @@ public interface AccountService extends RemoteJsonService { @SignInRequired void myAccount(AsyncCallback callback); - @SignInRequired - void myDiffPreferences(AsyncCallback callback); - @Audit @SignInRequired void changePreferences(AccountGeneralPreferences pref, diff --git a/gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/account/AccountServiceImpl.java b/gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/account/AccountServiceImpl.java index 0a9ed289aa..ebeef670e7 100644 --- a/gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/account/AccountServiceImpl.java +++ b/gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/account/AccountServiceImpl.java @@ -72,16 +72,6 @@ class AccountServiceImpl extends BaseServiceImplementation implements callback.onSuccess(currentUser.get().getAccount()); } - @Override - public void myDiffPreferences(AsyncCallback callback) { - run(callback, new Action() { - @Override - public AccountDiffPreference run(ReviewDb db) throws OrmException { - return currentUser.get().getAccountDiffPreference(); - } - }); - } - public void changePreferences(final AccountGeneralPreferences pref, final AsyncCallback callback) { run(callback, new Action() {