From 71df30119c362e81bec07d23657fea30ee4c3f4f Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Sat, 20 Aug 2022 18:38:51 +0200 Subject: [PATCH] update --- componentbuildercustomadminheaderstabs.php | 2 +- componentbuildercustomadminheaderstabs.xml | 2 +- script.php | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/componentbuildercustomadminheaderstabs.php b/componentbuildercustomadminheaderstabs.php index 1f9c357..ae0464d 100644 --- a/componentbuildercustomadminheaderstabs.php +++ b/componentbuildercustomadminheaderstabs.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/componentbuildercustomadminheaderstabs.xml b/componentbuildercustomadminheaderstabs.xml index d56c9f1..43548c3 100644 --- a/componentbuildercustomadminheaderstabs.xml +++ b/componentbuildercustomadminheaderstabs.xml @@ -1,7 +1,7 @@ PLG_CONTENT_COMPONENTBUILDERCUSTOMADMINHEADERSTABS - 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 c9b3c73..209284b 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 plgContentComponentbuilderCustomAdminHeadersTabsInstallerScript * 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 plgContentComponentbuilderCustomAdminHeadersTabsInstallerScript $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