update
This commit is contained in:
parent
ae3430d03e
commit
05fdaca499
@ -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>7th January, 2022</creationDate>
|
<creationDate>10th January, 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>
|
||||||
|
@ -61,8 +61,13 @@ class plgContentComponentbuilderLanguageTabsInstallerScript
|
|||||||
{
|
{
|
||||||
// get the version
|
// get the version
|
||||||
$jcbVersion = explode('.', $manifest->version);
|
$jcbVersion = explode('.', $manifest->version);
|
||||||
// check that we have JCB 3 or higher installed
|
// check that we have JCB 3.0.0 or higher installed
|
||||||
if (count($jcbVersion) == 3 && $jcbVersion[0] >= 3)
|
if (count($jcbVersion) == 3 && $jcbVersion[0] >= 3 &&
|
||||||
|
(
|
||||||
|
($jcbVersion[0] == 3 && $jcbVersion[1] == 0 && $jcbVersion[2] >= 0) ||
|
||||||
|
($jcbVersion[0] == 3 && $jcbVersion[1] > 0) ||
|
||||||
|
$jcbVersion[0] > 3)
|
||||||
|
)
|
||||||
{
|
{
|
||||||
$blockInstall = false;
|
$blockInstall = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user