From 4ecf674078b80c851c52778c0bfdb471e5de24d6 Mon Sep 17 00:00:00 2001 From: Allon Moritz Date: Thu, 17 Apr 2025 08:56:59 +0200 Subject: [PATCH] Remove CMS DB aware trait --- migrations/54-60/removed-backward-incompatibility.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/migrations/54-60/removed-backward-incompatibility.md b/migrations/54-60/removed-backward-incompatibility.md index c6f05adb..4bfec785 100644 --- a/migrations/54-60/removed-backward-incompatibility.md +++ b/migrations/54-60/removed-backward-incompatibility.md @@ -193,3 +193,9 @@ if ($app instanceof \Joomla\CMS\Application\ConsoleApplication) { - PR: https://github.com/joomla/joomla-cms/pull/45256 - Description: The TYPO3/phar-stream-wrapper dependency fixes a security issue in PHP 7, which has been fixed in PHP 8.0. This means that this package isn't necessary at all in Joomla and can be removed entirely. + +### CMS DatabaseAwareTrait class got removed + +- PR: https://github.com/joomla/joomla-cms/pull/45340 +- File: libraries/src/MVC/Model/DatabaseAwareTrait.php +- Description: The trait `Joomla\Database\DatabaseAwareTrait` should be used instead as they both contain the same functionality.