Added the option to exclude language strings from JCB package exports.

This commit is contained in:
2020-07-28 06:14:49 +02:00
parent 53f0abc0e2
commit 98f1821914
9 changed files with 39 additions and 18 deletions

View File

@@ -1672,6 +1672,11 @@ class ComponentbuilderModelJoomla_components extends JModelList
*/
protected function setLanguageTranslation(&$id, $target = 'components')
{
// check if the export of language strings is allowed
if ($this->params->get('export_language_strings', 1) != 1)
{
return;
}
// Create a new query object.
$query = $this->_db->getQuery(true);
$query->select(array('a.*'));