Skip to content

Commit

Permalink
Revert "One more"
Browse files Browse the repository at this point in the history
This reverts commit aa1b101.
  • Loading branch information
joomdonation committed Apr 13, 2018
1 parent aa1b101 commit 4d33999
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/system/fields/fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ public function onContentAfterDelete($context, $item)
}

$context = $parts[0] . '.' . $parts[1];


JLoader::import('joomla.application.component.model');
JModelLegacy::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_fields/models', 'FieldsModel');

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

0 comments on commit 4d33999

Please sign in to comment.