Skip to content

Commit

Permalink
Upgrade module to v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenzo Minciotti authored and Lorenzo Minciotti committed Jul 10, 2024
1 parent 8c16759 commit 3be19df
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sendinblueresttracker.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ public function __construct()
{
$this->name = 'sendinblueresttracker';
$this->tab = 'advertising_marketing';
$this->version = '1.0.1';
$this->version = '2.0.0';
$this->author = 'Novanta';

parent::__construct();

$this->displayName = $this->trans('Sendinblue REST tracker', [], 'Modules.Sendinblueresttracker.Admin');
$this->description = $this->trans('Adding Sendinblue Tracker to track some custom event', [], 'Modules.Sendinblueresttracker.Admin');
$this->ps_versions_compliancy = [
'min' => '1.7.6.0',
'min' => '8.0.0',
'max' => _PS_VERSION_,
];
}
Expand Down
27 changes: 27 additions & 0 deletions upgrade/upgrade-2.0.0.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/
if (!defined('_PS_VERSION_')) {
exit;
}

function upgrade_module_2_0_0($module)
{
return true;
}

0 comments on commit 3be19df

Please sign in to comment.