Skip to content

Commit a875028

Browse files
committed
Fix deprecated message in my settings
1 parent 961dd0c commit a875028

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

administrator/components/com_messages/src/Model/ConfigModel.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use Joomla\CMS\Component\ComponentHelper;
1414
use Joomla\CMS\MVC\Model\FormModel;
1515
use Joomla\Database\ParameterType;
16-
use Joomla\Registry\Registry;
1716

1817
// phpcs:disable PSR1.Files.SideEffects
1918
\defined('_JEXEC') or die;
@@ -59,7 +58,7 @@ protected function populateState()
5958
*/
6059
public function getItem()
6160
{
62-
$item = new Registry();
61+
$item = new \stdClass();
6362
$userid = (int) $this->getState('user.id');
6463

6564
$db = $this->getDatabase();

0 commit comments

Comments
 (0)