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'); +```