11<?php
2- /*
3- * 2007-2015 PrestaShop
4- *
5- * NOTICE OF LICENSE
6- *
7- * This source file is subject to the Academic Free License (AFL 3.0)
8- * that is bundled with this package in the file LICENSE.txt.
9- * It is also available through the world-wide-web at this URL:
10- * http://opensource.org/licenses/afl-3.0.php
11- * If you did not receive a copy of the license and are unable to
12- * obtain it through the world-wide-web, please send an email
13- * to license@prestashop.com so we can send you a copy immediately.
14- *
15- * DISCLAIMER
16- *
17- * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
18- * versions in the future. If you wish to customize PrestaShop for your
19- * needs please refer to http://www.prestashop.com for more information.
20- *
21- * @author PrestaShop SA <contact@prestashop.com>
22- * @copyright 2007-2015 PrestaShop SA
23- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24- * International Registered Trademark & Property of PrestaShop SA
25- */
2+ /**
3+ * Copyright since 2007 PrestaShop SA and Contributors
4+ * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
5+ *
6+ * NOTICE OF LICENSE
7+ *
8+ * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
9+ * that is bundled with this package in the file LICENSE.md.
10+ * It is also available through the world-wide-web at this URL:
11+ * https://opensource.org/licenses/AFL-3.0
12+ * If you did not receive a copy of the license and are unable to
13+ * obtain it through the world-wide-web, please send an email
14+ * to license@prestashop.com so we can send you a copy immediately.
15+ *
16+ * DISCLAIMER
17+ *
18+ * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
19+ * versions in the future. If you wish to customize PrestaShop for your
20+ * needs please refer to https://devdocs.prestashop.com/ for more information.
21+ *
22+ * @author PrestaShop SA and Contributors <contact@prestashop.com>
23+ * @copyright Since 2007 PrestaShop SA and Contributors
24+ * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
25+ */
2626
2727if (!defined ('_PS_VERSION_ ' )) {
2828 exit ;
@@ -36,14 +36,14 @@ public function __construct()
3636 {
3737 $ this ->name = 'statscheckup ' ;
3838 $ this ->tab = 'analytics_stats ' ;
39- $ this ->version = '2.0.1 ' ;
39+ $ this ->version = '2.0.2 ' ;
4040 $ this ->author = 'PrestaShop ' ;
4141 $ this ->need_instance = 0 ;
4242
4343 parent ::__construct ();
4444
4545 $ this ->displayName = $ this ->trans ('Catalog evaluation ' , array (), 'Modules.Statscheckup.Admin ' );
46- $ this ->description = $ this ->trans ('Adds a quick evaluation of your catalog quality to the Stats dashboard . ' , array (), 'Modules.Statscheckup.Admin ' );
46+ $ this ->description = $ this ->trans ('Enrich your stats, give your catalog a quick evaluation to better analyze your activity . ' , array (), 'Modules.Statscheckup.Admin ' );
4747 $ this ->ps_versions_compliancy = array ('min ' => '1.7.1.0 ' , 'max ' => _PS_VERSION_ );
4848 }
4949
@@ -64,10 +64,10 @@ public function install()
6464 Configuration::updateValue ($ confname , (int )$ confdefault );
6565 }
6666 }
67- return (parent ::install () && $ this ->registerHook ('AdminStatsModules ' ));
67+ return (parent ::install () && $ this ->registerHook ('displayAdminStatsModules ' ));
6868 }
6969
70- public function hookAdminStatsModules ()
70+ public function hookDisplayAdminStatsModules ()
7171 {
7272 if (Tools::isSubmit ('submitCheckup ' )) {
7373 $ confs = array (
0 commit comments