We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e63a249 commit e07e3a5Copy full SHA for e07e3a5
administrator/modules/mod_privacy_dashboard/helper.php
@@ -9,6 +9,8 @@
9
10
defined('_JEXEC') or die;
11
12
+use Joomla\CMS\MVC\Model\BaseModel;
13
+
14
/**
15
* Helper class for admin privacy dashboard module
16
*
@@ -25,10 +27,10 @@ class ModPrivacyDashboardHelper
25
27
*/
26
28
public static function getData()
29
{
- JModelLegacy::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_privacy/models', 'PrivacyModel');
30
+ BaseModel::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_privacy/models', 'PrivacyModel');
31
32
/** @var PrivacyModelDashboard $model */
- $model = JModelLegacy::getInstance('Dashboard', 'PrivacyModel');
33
+ $model = BaseModel::getInstance('Dashboard', 'PrivacyModel');
34
35
try
36
0 commit comments