User:Joepayne/stripRights.js: Difference between revisions

From Test Wiki
Content deleted Content added
Joepayne (talk | contribs)
Sigfix test
Joepayne (talk | contribs)
Test fix
Line 57: Line 57:
if (check) {
if (check) {
stripRights(username);
stripRights(username);
alertUser(username);
rightsRemovealert(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 alertUser(username) {
function rightsRemovealert(username) {
//If page already exists
//If page already exists
$.ajax( {
$.ajax( {