diff --git a/componentbuilderadminheaderstabs.xml b/componentbuilderadminheaderstabs.xml index 004bca4..d72e11e 100644 --- a/componentbuilderadminheaderstabs.xml +++ b/componentbuilderadminheaderstabs.xml @@ -1,7 +1,7 @@ - + PLG_CONTENT_COMPONENTBUILDERADMINHEADERSTABS - 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 e0c594c..bae514e 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 Admin Headers Tabs script file. * @@ -31,7 +36,7 @@ class plgContentComponentbuilderAdminHeadersTabsInstallerScript public function preflight($route, $adapter) { // get application - $app = JFactory::getApplication(); + $app = Factory::getApplication(); // the default for both install and update $jversion = new JVersion();