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