Skip to content

Commit aa1b101

Browse files
committed
One more
1 parent 60a76b2 commit aa1b101

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

plugins/system/fields/fields.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,7 @@ public function onContentAfterDelete($context, $item)
204204
}
205205

206206
$context = $parts[0] . '.' . $parts[1];
207-
208-
JLoader::import('joomla.application.component.model');
207+
209208
JModelLegacy::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_fields/models', 'FieldsModel');
210209

211210
$model = JModelLegacy::getInstance('Field', 'FieldsModel', array('ignore_request' => true));

0 commit comments

Comments
 (0)