diff --git a/componentbuildercustomadminheaderstabs.xml b/componentbuildercustomadminheaderstabs.xml index b5a8fdb..c548ac1 100644 --- a/componentbuildercustomadminheaderstabs.xml +++ b/componentbuildercustomadminheaderstabs.xml @@ -1,7 +1,7 @@ - + PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS - 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 a2899c8..9bff16d 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 Custom Admin Headers Tabs script file. * @@ -31,7 +36,7 @@ class plgContentComponentbuilderCustomAdminHeadersTabsInstallerScript public function preflight($route, $adapter) { // get application - $app = JFactory::getApplication(); + $app = Factory::getApplication(); // the default for both install and update $jversion = new JVersion();