From a20bc2916ee2ff194ff7cd96d9f415c687b703c4 Mon Sep 17 00:00:00 2001 From: Allon Moritz Date: Mon, 5 May 2025 15:10:23 +0200 Subject: [PATCH] Remove the static getLogContentTypeParams function --- .../54-60/removed-backward-incompatibility.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/migrations/54-60/removed-backward-incompatibility.md b/migrations/54-60/removed-backward-incompatibility.md index 137a14ad..304c62dc 100644 --- a/migrations/54-60/removed-backward-incompatibility.md +++ b/migrations/54-60/removed-backward-incompatibility.md @@ -242,3 +242,18 @@ $table = new \Joomla\CMS\Table\Content($db); - PR: https://github.com/joomla/joomla-cms/pull/45425 - File: libraries/src/Application/WebApplication.php - Description: The `$item_associations` was added to the `WebApplication` class for improved PHP 8.2 compatibility and is not used at all. + +### getLogContentTypeParams of the ActionlogsHelper got removed + +- PR: https://github.com/joomla/joomla-cms/pull/45434 +- File: administrator/components/com_actionlogs/src/Helper/ActionlogsHelper.php +- Description: The `getLogContentTypeParams` function in the the `ActionlogsHelper` class got removed as the one in the model should be used: + +```php +// Old: +ActionlogsHelper::getLogContentTypeParams('context'); + +// New: +Factory::getApplication()->bootComponent('actionlogs')->getMVCFactory() + ->createModel('ActionlogConfig', 'Administrator')->getLogContentTypeParams('context'); +```