From a7bf1b66093fa29114bd827ae74b7192dc60df36 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Sat, 20 Aug 2022 18:38:51 +0200 Subject: [PATCH] update --- componentbuilderheaderscompiler.php | 2 +- componentbuilderheaderscompiler.xml | 2 +- script.php | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/componentbuilderheaderscompiler.php b/componentbuilderheaderscompiler.php index b1bde1f..a9bd32e 100644 --- a/componentbuilderheaderscompiler.php +++ b/componentbuilderheaderscompiler.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/componentbuilderheaderscompiler.xml b/componentbuilderheaderscompiler.xml index facf23f..c3b2328 100644 --- a/componentbuilderheaderscompiler.xml +++ b/componentbuilderheaderscompiler.xml @@ -1,7 +1,7 @@ PLG_EXTENSION_COMPONENTBUILDERHEADERSCOMPILER - 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 bc9558b..5c0b4b4 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 plgExtensionComponentbuilderHeadersCompilerInstallerScript * 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 plgExtensionComponentbuilderHeadersCompilerInstallerScript $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