]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/EmailReminder/EmailReminderPlugin.php
* only send the one invitation reminder per email address, regardless of how many...
[quix0rs-gnu-social.git] / plugins / EmailReminder / EmailReminderPlugin.php
index 815537c659f18e4051923f1b122876caca6f89c6..72583f53492a574e51b308cb06df980304cf07ca 100644 (file)
@@ -135,6 +135,11 @@ class EmailReminderPlugin extends Plugin
         if (self::sendReminderEmail($type, $object, $subject, $title)) {
             try {
                 Email_reminder::recordReminder($type, $object, $day);
+                common_log(
+                    LOG_INFO,
+                    "Sent {$type} reminder to {$object->address}.",
+                    __FILE__
+                );
             } catch (Exception $e) {
                 // oh noez
                 common_log(LOG_ERR, $e->getMessage(), __FILE__);