update
This commit is contained in:
parent
fda1a4a607
commit
d2a8776e94
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @created 30th April, 2015
|
* @created 30th April, 2015
|
||||||
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
||||||
* @git Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder-Pro>
|
* @git Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder>
|
||||||
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<extension type="plugin" version="4" group="content" method="upgrade">
|
<extension type="plugin" version="4" group="content" method="upgrade">
|
||||||
<name>PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS</name>
|
<name>PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS</name>
|
||||||
<creationDate>8th July, 2022</creationDate>
|
<creationDate>20th August, 2022</creationDate>
|
||||||
<author>Llewellyn van der Merwe</author>
|
<author>Llewellyn van der Merwe</author>
|
||||||
<authorEmail>joomla@vdm.io</authorEmail>
|
<authorEmail>joomla@vdm.io</authorEmail>
|
||||||
<authorUrl>https://dev.vdm.io</authorUrl>
|
<authorUrl>https://dev.vdm.io</authorUrl>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @created 30th April, 2015
|
* @created 30th April, 2015
|
||||||
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
||||||
* @git Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder-Pro>
|
* @git Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder>
|
||||||
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @created 30th April, 2015
|
* @created 30th April, 2015
|
||||||
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
||||||
* @git Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder-Pro>
|
* @git Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder>
|
||||||
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
@ -24,11 +24,11 @@ class plgContentComponentbuilderLanguageTabsInstallerScript
|
|||||||
* Called before any type of action
|
* Called before any type of action
|
||||||
*
|
*
|
||||||
* @param string $route Which action is happening (install|uninstall|discover_install|update)
|
* @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
|
* @return boolean True on success
|
||||||
*/
|
*/
|
||||||
public function preflight($route, JAdapterInstance $adapter)
|
public function preflight($route, $adapter)
|
||||||
{
|
{
|
||||||
// get application
|
// get application
|
||||||
$app = JFactory::getApplication();
|
$app = JFactory::getApplication();
|
||||||
@ -48,7 +48,7 @@ class plgContentComponentbuilderLanguageTabsInstallerScript
|
|||||||
$pathToCore = JPATH_ADMINISTRATOR . '/components/com_componentbuilder/helpers/componentbuilder.php';
|
$pathToCore = JPATH_ADMINISTRATOR . '/components/com_componentbuilder/helpers/componentbuilder.php';
|
||||||
if (!JFile::exists($pathToCore))
|
if (!JFile::exists($pathToCore))
|
||||||
{
|
{
|
||||||
$app->enqueueMessage('JCB must first be installed from <a href="https://git.vdm.dev/joomla/Component-Builder-Pro/" target="_blank">Joomla Component Builder</a>.', 'error');
|
$app->enqueueMessage('Joomla Component Builder must first be installed from <a href="https://www.joomlacomponentbuilder.com/ " target="_blank">Joomla Component Builder</a>.', 'error');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// load the helper class
|
// load the helper class
|
||||||
|
Loading…
Reference in New Issue
Block a user