From 406e0d016fe96358617c9d64bb00c12fde217ed0 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 14 Mar 2016 17:58:25 +0100 Subject: [PATCH] Add missing entry to CHANGELOG and add since tag --- CHANGELOG.md | 1 + wcfsetup/install/files/lib/data/notice/Notice.class.php | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e04d30361f..5a6dc9ca0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ * Make user options shown in sidebar sortable. * `wcf\system\event\listener\AbstractUserActionRenameListener` added. * `wcf\system\event\listener\AbstractUserMergeListener` added. +* Notice texts support `{$username}` and `{$email}` placeholders. #### New Traits diff --git a/wcfsetup/install/files/lib/data/notice/Notice.class.php b/wcfsetup/install/files/lib/data/notice/Notice.class.php index 07739a8757..a950eabff2 100644 --- a/wcfsetup/install/files/lib/data/notice/Notice.class.php +++ b/wcfsetup/install/files/lib/data/notice/Notice.class.php @@ -38,6 +38,7 @@ class Notice extends DatabaseObject implements IRouteController { * Returns the textual representation of the notice. * * @return string + * @since 2.2 */ public function __toString() { // replace `{$username}` with the active user's name and the `{$email}` with the active users' email address -- 2.20.1