diff --git a/app/assets/javascripts/discourse/app/routes/discourse.js b/app/assets/javascripts/discourse/app/routes/discourse.js index 9b2f976c5c7..da07704a23c 100644 --- a/app/assets/javascripts/discourse/app/routes/discourse.js +++ b/app/assets/javascripts/discourse/app/routes/discourse.js @@ -75,15 +75,6 @@ const DiscourseRoute = Route.extend({ } }, - // deprecated, use isCurrentUser() instead - isAnotherUsersPage(user) { - if (!this.currentUser) { - return true; - } - - return user.username !== this.currentUser.username; - }, - isCurrentUser(user) { if (!this.currentUser) { return false; // the current user is anonymous