From 2330a93929754fa1f2b07907ed8828caa8201192 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. --- componentbuildersiteheaderstabs.xml | 4 ++-- script.php | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/componentbuildersiteheaderstabs.xml b/componentbuildersiteheaderstabs.xml index b5f14fe..d6889ac 100644 --- a/componentbuildersiteheaderstabs.xml +++ b/componentbuildersiteheaderstabs.xml @@ -1,7 +1,7 @@ - + PLG_CONTENT_COMPONENTBUILDERSITEHEADERSTABS - 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 b51002c..be2a853 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 Site Headers Tabs script file. * @@ -31,7 +36,7 @@ class plgContentComponentbuilderSiteHeadersTabsInstallerScript public function preflight($route, $adapter) { // get application - $app = JFactory::getApplication(); + $app = Factory::getApplication(); // the default for both install and update $jversion = new JVersion();