From d8401110d9bdca724cb926036bfd6876e17a935f Mon Sep 17 00:00:00 2001 From: aB0t Date: Sat, 2 Mar 2024 22:06:24 +0200 Subject: [PATCH] Update on v2.0.1 (beta for next version) Here's an update on the current version, which includes changes towards the next release still in beta. --- componentbuildercomponentheaderstabs.xml | 4 ++-- script.php | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/componentbuildercomponentheaderstabs.xml b/componentbuildercomponentheaderstabs.xml index 219acec..17569cb 100644 --- a/componentbuildercomponentheaderstabs.xml +++ b/componentbuildercomponentheaderstabs.xml @@ -1,7 +1,7 @@ - + PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS - 24th October, 2023 + 2nd March, 2024 Llewellyn van der Merwe joomla@vdm.io https://dev.vdm.io diff --git a/script.php b/script.php index c6955b9..3d51925 100644 --- a/script.php +++ b/script.php @@ -12,6 +12,11 @@ // No direct access to this file defined('_JEXEC') or die('Restricted access'); +use Joomla\CMS\Factory; +use Joomla\CMS\Language\Text; +use Joomla\CMS\Filesystem\File; +use Joomla\CMS\Filesystem\Folder; + /** * Content - Componentbuilder Component Headers Tabs script file. * @@ -31,7 +36,7 @@ class plgContentComponentbuilderComponentHeadersTabsInstallerScript public function preflight($route, $adapter) { // get application - $app = JFactory::getApplication(); + $app = Factory::getApplication(); // the default for both install and update $jversion = new JVersion();