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); | ||
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 | function demotionAlert(username) { | ||
//If page already exists | //If page already exists | ||
$.ajax( { | $.ajax( { |