From c5a95cbb1eb6ac3240f503ae517b603469fadfa1 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Sat, 20 Aug 2022 18:38:51 +0200 Subject: [PATCH] update --- componentbuildercomponentheaderstabs.php | 2 +- componentbuildercomponentheaderstabs.xml | 2 +- script.php | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/componentbuildercomponentheaderstabs.php b/componentbuildercomponentheaderstabs.php index 13b887b..ca3cb45 100644 --- a/componentbuildercomponentheaderstabs.php +++ b/componentbuildercomponentheaderstabs.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/componentbuildercomponentheaderstabs.xml b/componentbuildercomponentheaderstabs.xml index 1d0bf82..81f4238 100644 --- a/componentbuildercomponentheaderstabs.xml +++ b/componentbuildercomponentheaderstabs.xml @@ -1,7 +1,7 @@ PLG_CONTENT_COMPONENTBUILDERCOMPONENTHEADERSTABS - 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 525a321..5ddbfd2 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 plgContentComponentbuilderComponentHeadersTabsInstallerScript * 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 plgContentComponentbuilderComponentHeadersTabsInstallerScript $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