User:Joepayne/stripRights.js: Difference between revisions

From Test Wiki
Rename function
(Test)
(Rename function)
Line 57: Line 57:
if (check) {
if (check) {
stripRights(username);
stripRights(username);
rightsRemovealert(username);
demotionAlert(username);
alert(username + " has had their bureaucrat and admin removed for inactivity");
alert(username + " has had their bureaucrat and admin removed for inactivity");
}
}
Line 112: Line 112:
}
}


function rightsRemovealert(username) {
function demotionAlert(username) {
//If page already exists
//If page already exists
$.ajax( {
$.ajax( {
126

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.