mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: removes legacy browsers-refresh button (#7028)
This commit is contained in:
@@ -226,14 +226,6 @@ const AdminUser = Discourse.User.extend({
|
||||
.catch(popupAjaxError);
|
||||
},
|
||||
|
||||
refreshBrowsers() {
|
||||
return ajax("/admin/users/" + this.get("id") + "/refresh_browsers", {
|
||||
type: "POST"
|
||||
}).finally(() =>
|
||||
bootbox.alert(I18n.t("admin.user.refresh_browsers_message"))
|
||||
);
|
||||
},
|
||||
|
||||
approve() {
|
||||
const self = this;
|
||||
return ajax("/admin/users/" + this.get("id") + "/approve", {
|
||||
|
||||
Reference in New Issue
Block a user