FIX: removes legacy browsers-refresh button (#7028)

This commit is contained in:
Joffrey JAFFEUX
2019-02-19 16:38:21 +01:00
committed by GitHub
parent b3ab0e5753
commit 9ade04b709
47 changed files with 0 additions and 106 deletions

View File

@@ -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", {