Skip to content

Commit

Permalink
CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
derjoachim committed Nov 4, 2024
1 parent b2ae559 commit f79891f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
- Core: Admin can change passwords without using own password again
- Email: Set references header when forwarding mail
- Newsletters: fix php compatibility error when sending newsletters

28-10-2024: 6.8.80
- Core: bugfix editing individual field set in entity
Expand Down
7 changes: 0 additions & 7 deletions www/go/base/cron/EmailReminders.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,6 @@ public function run(CronJob $cronJob){
);

while ($reminderModel = $remindersStmt->fetch()) {
// $relatedModel = $reminderModel->getRelatedModel();

// var_dump($relatedModel->name);

// $modelName = $relatedModel ? $relatedModel->localizedName : \GO::t("Unknown");
$subject = \GO::t("Reminder").': '.$reminderModel->name;

$time = !empty($reminderModel->vtime) ? $reminderModel->vtime : $reminderModel->time;
Expand All @@ -95,8 +90,6 @@ public function run(CronJob $cronJob){
$body = \GO::t("Time").': '.date($userModel->completeDateFormat.' '.$userModel->time_format,$time)."\n";
$body .= \GO::t("Name").': '.str_replace('<br />',',',$reminderModel->name)."\n";

// date_default_timezone_set(\GO::user()->timezone);

$message = \GO\Base\Mail\Message::newInstance($subject, $body);
$message->addFrom(\GO::config()->noreply_email,\GO::config()->title);
$message->addTo(new Address($userModel->email,$userModel->name));
Expand Down
2 changes: 1 addition & 1 deletion www/go/core/mail/PHPMailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ public function getSentMIMEMessage()
*
* @return bool
*/
protected function smtpSend($header, $body)
protected function smtpSend($header, $body): bool
{
$header = static::stripTrailingWSP($header) . static::$LE . static::$LE;
$bad_rcpt = [];
Expand Down

0 comments on commit f79891f

Please sign in to comment.