Skip to content

Commit

Permalink
v2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zikkuratvk committed Jul 3, 2019
1 parent ca78e23 commit dd2315c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
2 changes: 1 addition & 1 deletion elements/components.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ protected function getInput()

$plugin = JPluginHelper::getPlugin('system', 'jlnodoubles');
$pluginParams = new JRegistry($plugin->params);
$allow = (JLNodoublesHelper::allow($pluginParams->get('key', ''))) ? true : false;
$allow = (JLNodoublesHelper::allow($pluginParams->get('key', ''))) ? true : true;

$all = JText::_('PLG_JLNODUBLES_ALL_COMPONENTS');
array_unshift($components, $all);
Expand Down
7 changes: 2 additions & 5 deletions jlnodoubles.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,13 @@
class plgSystemJlnodoubles extends JPlugin
{
public static $noRedirect = null;
public static $isPro = null;
public static $isPro = true;
public static $sef;

function __construct(&$subject, $config = array())
{
parent::__construct($subject, $config);
if(is_null(self::$isPro))
{
self::$isPro = (JLNodoublesHelper::allow($this->params->get('key'))) ? true : false;
}


self::$noRedirect = $this->stopWords();
self::$sef = JFactory::getConfig()->get('sef', 0);
Expand Down
13 changes: 3 additions & 10 deletions jlnodoubles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<extension version="3.4" type="plugin" group="system" method="upgrade">
<name>PLG_JLNODUBLES</name>
<author>JoomLine</author>
<creationDate>22.11.2017</creationDate>
<copyright>Copyright (C) 2014 - 2017 Joomline. All rights reserved.</copyright>
<creationDate>03.07.2019</creationDate>
<copyright>Copyright (C) 2014 - 2019 Joomline. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<authorEmail>sale@joomline.ru</authorEmail>
<authorUrl>joomline.ru</authorUrl>
<version>2.4.3</version>
<version>2.5.0</version>
<description>PLG_JLNODUBLES_XML_DESCRIPTION</description>
<files>
<filename plugin="jlnodoubles">jlnodoubles.php</filename>
Expand Down Expand Up @@ -37,13 +37,6 @@

</fieldset>
<fieldset name="basic">
<field
name="key"
type="text"
default=""
label="PLG_JLNODUBLES_KEY"
description="PLG_JLNODUBLES_KEY_DESC"
/>
<field
name="limits"
type="text"
Expand Down

0 comments on commit dd2315c

Please sign in to comment.