A platform for community discussion. Free, open, simple.
DEV: drop a deprecated function (#21364)
Andrei Prigorshnevc1c017f4333a
diff --git a/app/assets/javascripts/discourse/app/routes/discourse.js b/app/assets/javascripts/discourse/app/routes/discourse.jsindex 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