Permalink
Browse files

If notify is false, don't pretend that we've notified anyone in the c…

…sd log
  • Loading branch information...
1 parent f00efec commit e909b276a2de13fde6d76b62ec2e34aeeb4dc2ea @theopolisme theopolisme committed Oct 19, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/submissions.js
View
@@ -871,10 +871,10 @@ function afcHelper_act(action) {
pagetext = "\{\{Db-g12\}\}\n" + newtemplate + '\n' + newcomment + '\n\{\{afc cleared\}\}';
}
// And for good measure log the CSD nomination
- afcHelper_logcsd(afcHelper_PageName,"[[WP:G12]] ({{tl|db-copyvio}})",[afcHelper_authorusername]);
+ afcHelper_logcsd(afcHelper_PageName,"[[WP:G12]] ({{tl|db-copyvio}})",(notify ? [afcHelper_authorusername] : false));
} else {
pagetext = newtemplate + '\n' + newcomment + '\n\{\{afc cleared|csd\}\}';
- afcHelper_logcsd(afcHelper_PageName,"{{tl|db-reason}} ([[WP:AFC|Articles for creation]])",[afcHelper_authorusername]);
+ afcHelper_logcsd(afcHelper_PageName,"{{tl|db-reason}} ([[WP:AFC|Articles for creation]])",(notify ? [afcHelper_authorusername] : false));
}
} else {
// If we just need to blank the submission, *just blank it*

0 comments on commit e909b27

Please sign in to comment.