diff --git a/CHANGELOG.md b/CHANGELOG.md index cedabb124c..a09f43b172 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ HumHub Changelog - Fix #7197: Increased version of `PHPOffice/PHPSpreadsheet` to v2.2+ - Enh #7167: Disable DEBUG mode automatically after successful humhub installation. Add `.env` support - Enh #7202: Increased minimum PHP version to 8.1 +- Enh #7211: Remove obsolete property `AbstractRichText::$record` 1.16.2 (September 5, 2024) -------------------------- diff --git a/protected/humhub/modules/comment/widgets/views/comment.php b/protected/humhub/modules/comment/widgets/views/comment.php index ff6a7f90fb..a40c1634ec 100644 --- a/protected/humhub/modules/comment/widgets/views/comment.php +++ b/protected/humhub/modules/comment/widgets/views/comment.php @@ -50,7 +50,7 @@ $module = Yii::$app->getModule('comment');
- message, ['record' => $comment]); ?> + message) ?>
$comment]); ?>
diff --git a/protected/humhub/modules/content/widgets/richtext/AbstractRichText.php b/protected/humhub/modules/content/widgets/richtext/AbstractRichText.php index 0f746bc3d3..7724542634 100644 --- a/protected/humhub/modules/content/widgets/richtext/AbstractRichText.php +++ b/protected/humhub/modules/content/widgets/richtext/AbstractRichText.php @@ -144,11 +144,6 @@ abstract class AbstractRichText extends JsWidget */ protected static $converterClass; - /** - * @var mixed can be used to identify the related record - */ - public $record; - /** * @var array of richtext extension classes used for preparing and post processing output and converter result * @since 1.8 diff --git a/protected/humhub/modules/post/widgets/views/wallEntry.php b/protected/humhub/modules/post/widgets/views/wallEntry.php index fee32eb24c..420696498c 100644 --- a/protected/humhub/modules/post/widgets/views/wallEntry.php +++ b/protected/humhub/modules/post/widgets/views/wallEntry.php @@ -23,6 +23,6 @@ $isDetailView = $renderOptions->isViewContext(WallStreamEntryOptions::VIEW_CONTE data-collapse-at="" > - message, ['record' => $post]) ?> + message) ?>