mode menu: remove post ban, rating lock, note lock options.

This commit is contained in:
evazion
2020-02-20 03:37:26 -06:00
parent 0ad42d23c9
commit c89c7ccc63
6 changed files with 0 additions and 47 deletions

View File

@@ -529,22 +529,6 @@ Post.update = function(post_id, params) {
});
}
Post.ban = function(post_id) {
$.ajax({
type: "POST",
url: "/moderator/post/posts/" + post_id + "/ban.js",
data: {
commit: "Ban"
},
success: function(data) {
$("#post_" + post_id).remove();
},
error: function(data) {
Utility.error(`There was an error updating <a href="/posts/${post_id}">post #${post_id}</a>`);
}
});
}
Post.approve = function(post_id) {
$.post(
"/moderator/post/approval.json",