setQuery( 'UPDATE #__extensions SET ' . ($type == 'install' ? 'enabled = 1, ' : '') . "ordering = 0 WHERE type = 'plugin' AND folder = 'fields' AND element = 'location'" ) ->execute(); } }