From e1324246595d90d13fd85ec4ffa31dbfeac80a25 Mon Sep 17 00:00:00 2001 From: aB0t Date: Thu, 15 Aug 2024 01:37:23 +0200 Subject: [PATCH] Release of v1.2.1 --- componentbuilderexportcompiler.php | 14 ++++++-------- componentbuilderexportcompiler.xml | 6 +++--- ...lg_extension_componentbuilderexportcompiler.ini | 2 +- ...xtension_componentbuilderexportcompiler.sys.ini | 2 +- 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/componentbuilderexportcompiler.php b/componentbuilderexportcompiler.php index 8267f4a..f3a47ce 100644 --- a/componentbuilderexportcompiler.php +++ b/componentbuilderexportcompiler.php @@ -12,22 +12,20 @@ // No direct access to this file defined('_JEXEC') or die('Restricted access'); -use Joomla\CMS\Application\CMSApplication; -use Joomla\CMS\Plugin\CMSPlugin; -use VDM\Joomla\Utilities\ArrayHelper; -use VDM\Joomla\Componentbuilder\Compiler\Factory; - JLoader::register('ComponentbuilderHelper', JPATH_ADMINISTRATOR . '/components/com_componentbuilder/helpers/componentbuilder.php'); +use Joomla\CMS\Application\CMSApplication; +use Joomla\CMS\Plugin\CMSPlugin; use VDM\Joomla\Componentbuilder\Compiler\Factory as CFactory; use VDM\Joomla\Componentbuilder\Compiler\Utilities\Indent; -use VDM\Joomla\Componentbuilder\Compiler\Utilities\Line; +use VDM\Joomla\Componentbuilder\Compiler\Utilities\Line; +use VDM\Joomla\Utilities\ArrayHelper; /** * Extension - Componentbuilder Export Compiler plugin. * * @package ComponentbuilderExportCompiler - * @since 1.2.0 + * @since 1.2.1 */ class PlgExtensionComponentbuilderExportCompiler extends CMSPlugin { @@ -251,7 +249,7 @@ class PlgExtensionComponentbuilderExportCompiler extends CMSPlugin // only check if there are active if (ArrayHelper::check($this->componentsActive)) { - return in_array((int) Factory::_('Config')->component_id, $this->componentsActive); + return in_array((int) CFactory::_('Config')->component_id, $this->componentsActive); } return false; } diff --git a/componentbuilderexportcompiler.xml b/componentbuilderexportcompiler.xml index a37d4aa..2bb0926 100644 --- a/componentbuilderexportcompiler.xml +++ b/componentbuilderexportcompiler.xml @@ -1,13 +1,13 @@ PLG_EXTENSION_COMPONENTBUILDEREXPORTCOMPILER - 27th July, 2024 + 14th August, 2024 Llewellyn van der Merwe joomla@vdm.io https://dev.vdm.io Copyright (C) 2015 Vast Development Method. All rights reserved. GNU General Public License version 2 or later; see LICENSE.txt - 1.2.0 + 1.2.1 PLG_EXTENSION_COMPONENTBUILDEREXPORTCOMPILER_XML_DESCRIPTION @@ -26,7 +26,7 @@ language - +