diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index c8cbec8..b2f0dac 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,6 +1,10 @@ Changelog ========= +1.1.1 (Unreleased) +---------------------- +- Enh #82: Set notification category "Administrative" + 1.1.0 (May 1, 2024) ---------------------- - Fix #75: Display only published contents diff --git a/module.json b/module.json index fc45e89..2fa1658 100755 --- a/module.json +++ b/module.json @@ -9,7 +9,7 @@ "profanity filter", "abuse" ], - "version": "1.1.0", + "version": "1.1.1", "authors": [ { "name": "HumHub Staff" diff --git a/notifications/NewReportAdmin.php b/notifications/NewReportAdmin.php index 8911caa..945d78b 100644 --- a/notifications/NewReportAdmin.php +++ b/notifications/NewReportAdmin.php @@ -8,6 +8,7 @@ namespace humhub\modules\reportcontent\notifications; +use humhub\modules\admin\notifications\AdminNotificationCategory; use humhub\modules\comment\models\Comment; use humhub\modules\content\components\ContentActiveRecord; use humhub\modules\content\models\Content; @@ -40,6 +41,14 @@ class NewReportAdmin extends BaseNotification */ private $_reportedRecord = null; + /** + * @inheritdoc + */ + protected function category() + { + return new AdminNotificationCategory(); + } + /** * @inheritdoc */