We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60a76b2 commit aa1b101Copy full SHA for aa1b101
1 file changed
plugins/system/fields/fields.php
@@ -204,8 +204,7 @@ public function onContentAfterDelete($context, $item)
204
}
205
206
$context = $parts[0] . '.' . $parts[1];
207
-
208
- JLoader::import('joomla.application.component.model');
+
209
JModelLegacy::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_fields/models', 'FieldsModel');
210
211
$model = JModelLegacy::getInstance('Field', 'FieldsModel', array('ignore_request' => true));
0 commit comments