summaryrefslogtreecommitdiff
path: root/scripts/resetpermissions.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/resetpermissions.php')
-rwxr-xr-xscripts/resetpermissions.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/resetpermissions.php b/scripts/resetpermissions.php
index 055e36a..0bfdaa3 100755
--- a/scripts/resetpermissions.php
+++ b/scripts/resetpermissions.php
@@ -49,6 +49,20 @@ foreach ($flags as $flag) {
);
} else {
+
+ $message = <<<EOF
+Hi $row[fname],
+
+As per Arbitration a20110118.1 [1] the $flag permission has been removed
+from your account.
+
+[1] https://wiki.cacert.org/Arbitrations/a20110118.1
+
+Best Regards,
+CAcert Support
+EOF;
+ sendmail($row['email'], "Permissions have been reset", $message, 'support@cacert.org');
+
echo " reset.\n";
}
}