From 45952560c710e8da7eb50e8675b9c4f9c8d9b141 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Sat, 20 Aug 2022 18:38:51 +0200 Subject: [PATCH] update --- componentbuildersiteheaderstabs.php | 2 +- componentbuildersiteheaderstabs.xml | 2 +- script.php | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/componentbuildersiteheaderstabs.php b/componentbuildersiteheaderstabs.php index a374e0d..ac60e7b 100644 --- a/componentbuildersiteheaderstabs.php +++ b/componentbuildersiteheaderstabs.php @@ -4,7 +4,7 @@ * * @created 30th April, 2015 * @author Llewellyn van der Merwe - * @git Joomla Component Builder + * @git Joomla Component Builder * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ diff --git a/componentbuildersiteheaderstabs.xml b/componentbuildersiteheaderstabs.xml index 7ddc38a..7a39e60 100644 --- a/componentbuildersiteheaderstabs.xml +++ b/componentbuildersiteheaderstabs.xml @@ -1,7 +1,7 @@ PLG_CONTENT_COMPONENTBUILDERSITEHEADERSTABS - 8th July, 2022 + 20th August, 2022 Llewellyn van der Merwe joomla@vdm.io https://dev.vdm.io diff --git a/script.php b/script.php index 4b1ca3b..7c3afb4 100644 --- a/script.php +++ b/script.php @@ -4,7 +4,7 @@ * * @created 30th April, 2015 * @author Llewellyn van der Merwe - * @git Joomla Component Builder + * @git Joomla Component Builder * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ @@ -24,11 +24,11 @@ class plgContentComponentbuilderSiteHeadersTabsInstallerScript * Called before any type of action * * @param string $route Which action is happening (install|uninstall|discover_install|update) - * @param JAdapterInstance $adapter The object responsible for running this script + * @param Joomla\CMS\Installer\InstallerAdapter $adapter The object responsible for running this script * * @return boolean True on success */ - public function preflight($route, JAdapterInstance $adapter) + public function preflight($route, $adapter) { // get application $app = JFactory::getApplication(); @@ -48,7 +48,7 @@ class plgContentComponentbuilderSiteHeadersTabsInstallerScript $pathToCore = JPATH_ADMINISTRATOR . '/components/com_componentbuilder/helpers/componentbuilder.php'; if (!JFile::exists($pathToCore)) { - $app->enqueueMessage('JCB must first be installed from Joomla Component Builder.', 'error'); + $app->enqueueMessage('Joomla Component Builder must first be installed from Joomla Component Builder.', 'error'); return false; } // load the helper class