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();