From d27fe93daac3ee3361c568a14cd356a23c7157b5 Mon Sep 17 00:00:00 2001 From: Vincent Augagneur Date: Tue, 5 Nov 2013 18:08:01 +0100 Subject: [PATCH] //modules added ->bootstrap = true; --- modules/bankwire/bankwire.php | 3 ++- modules/blockadvertising/blockadvertising.php | 3 ++- modules/blockbestsellers/blockbestsellers.php | 3 ++- modules/blockcart/blockcart.php | 3 ++- modules/blockcategories/blockcategories.php | 3 ++- modules/blockcms/blockcms.php | 3 ++- modules/blockcontact/blockcontact.php | 3 ++- modules/blockcontactinfos/blockcontactinfos.php | 3 ++- modules/blockcustomerprivacy/blockcustomerprivacy.php | 3 ++- modules/blocklink/blocklink.php | 3 ++- modules/blockmanufacturer/blockmanufacturer.php | 3 ++- modules/blocknewproducts/blocknewproducts.php | 3 ++- modules/blocknewsletter/blocknewsletter.php | 3 ++- modules/blockpaymentlogo/blockpaymentlogo.php | 3 ++- modules/blockreinsurance/blockreinsurance.php | 3 ++- modules/blockrss/blockrss.php | 3 ++- modules/blocksocial/blocksocial.php | 3 ++- modules/blockspecials/blockspecials.php | 3 ++- modules/blockstore/blockstore.php | 3 ++- modules/blocksupplier/blocksupplier.php | 3 ++- modules/blocktags/blocktags.php | 3 ++- modules/blocktopmenu/blocktopmenu.php | 3 ++- modules/blockviewed/blockviewed.php | 3 ++- modules/blockwishlist/blockwishlist.php | 3 ++- modules/carriercompare/carriercompare.php | 3 ++- modules/cheque/cheque.php | 3 ++- modules/crossselling/crossselling.php | 3 ++- modules/dateofdelivery/dateofdelivery.php | 3 ++- modules/followup/followup.php | 3 ++- modules/homefeatured/homefeatured.php | 3 ++- modules/homeslider/homeslider.php | 1 + modules/loyalty/loyalty.php | 3 ++- modules/mailalerts/mailalerts.php | 3 ++- modules/newsletter/newsletter.php | 3 ++- modules/productscategory/productscategory.php | 3 ++- modules/producttooltip/producttooltip.php | 3 ++- modules/pscleaner/pscleaner.php | 3 ++- modules/referralprogram/referralprogram.php | 3 ++- modules/statsdata/statsdata.php | 3 ++- modules/vatnumber/vatnumber.php | 3 ++- modules/watermark/watermark.php | 3 ++- 41 files changed, 81 insertions(+), 40 deletions(-) diff --git a/modules/bankwire/bankwire.php b/modules/bankwire/bankwire.php index 38a4946ef..58fd8255a 100644 --- a/modules/bankwire/bankwire.php +++ b/modules/bankwire/bankwire.php @@ -54,7 +54,8 @@ class BankWire extends PaymentModule if (isset($config['BANK_WIRE_ADDRESS'])) $this->address = $config['BANK_WIRE_ADDRESS']; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Bank Wire'); $this->description = $this->l('Accept payments for your products via bank wire.'); diff --git a/modules/blockadvertising/blockadvertising.php b/modules/blockadvertising/blockadvertising.php index 6028d3db0..dabc3d8ec 100644 --- a/modules/blockadvertising/blockadvertising.php +++ b/modules/blockadvertising/blockadvertising.php @@ -49,7 +49,8 @@ class BlockAdvertising extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Block advertising'); $this->description = $this->l('Adds an advertisement block to selected sections of your e-commerce webiste.'); diff --git a/modules/blockbestsellers/blockbestsellers.php b/modules/blockbestsellers/blockbestsellers.php index 9097c588c..4524573b3 100644 --- a/modules/blockbestsellers/blockbestsellers.php +++ b/modules/blockbestsellers/blockbestsellers.php @@ -41,7 +41,8 @@ class BlockBestSellers extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Top-seller block'); $this->description = $this->l('Add a block displaying your store\'s top-selling products.'); diff --git a/modules/blockcart/blockcart.php b/modules/blockcart/blockcart.php index 685e663e8..84f2a275d 100644 --- a/modules/blockcart/blockcart.php +++ b/modules/blockcart/blockcart.php @@ -37,7 +37,8 @@ class BlockCart extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Cart block'); $this->description = $this->l('Adds a block containing the customer\'s shopping cart.'); diff --git a/modules/blockcategories/blockcategories.php b/modules/blockcategories/blockcategories.php index 3918d00c2..a8ce9a01b 100644 --- a/modules/blockcategories/blockcategories.php +++ b/modules/blockcategories/blockcategories.php @@ -36,7 +36,8 @@ class BlockCategories extends Module $this->version = '2.2'; $this->author = 'PrestaShop'; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Categories block'); $this->description = $this->l('Adds a block featuring product categories.'); diff --git a/modules/blockcms/blockcms.php b/modules/blockcms/blockcms.php index 2b808b6f6..0c1a8abc4 100755 --- a/modules/blockcms/blockcms.php +++ b/modules/blockcms/blockcms.php @@ -43,7 +43,8 @@ class BlockCms extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('CMS Block'); $this->description = $this->l('Adds a block with several CMS links.'); diff --git a/modules/blockcontact/blockcontact.php b/modules/blockcontact/blockcontact.php index 51da4ba1b..b11a3e0d6 100644 --- a/modules/blockcontact/blockcontact.php +++ b/modules/blockcontact/blockcontact.php @@ -35,7 +35,8 @@ class Blockcontact extends Module $this->tab = 'front_office_features'; $this->version = '1.0'; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Contact Block'); $this->description = $this->l('Allows you to add additional information about your store\'s customer service.'); diff --git a/modules/blockcontactinfos/blockcontactinfos.php b/modules/blockcontactinfos/blockcontactinfos.php index 8f6b54b6f..87f4a0fe5 100644 --- a/modules/blockcontactinfos/blockcontactinfos.php +++ b/modules/blockcontactinfos/blockcontactinfos.php @@ -39,7 +39,8 @@ class Blockcontactinfos extends Module $this->tab = 'Blocks'; $this->version = '1.0'; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Block contact info'); $this->description = $this->l('This module will allow you to display your e-store\'s contact information in a customizable block.'); diff --git a/modules/blockcustomerprivacy/blockcustomerprivacy.php b/modules/blockcustomerprivacy/blockcustomerprivacy.php index 308dddd07..75f154fc9 100644 --- a/modules/blockcustomerprivacy/blockcustomerprivacy.php +++ b/modules/blockcustomerprivacy/blockcustomerprivacy.php @@ -40,7 +40,8 @@ class Blockcustomerprivacy extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Customer data privacy block.'); $this->description = $this->l('Adds a block displaying a message about a customer\'s privacy data. '); diff --git a/modules/blocklink/blocklink.php b/modules/blocklink/blocklink.php index db89285d5..eb0f2e0cf 100644 --- a/modules/blocklink/blocklink.php +++ b/modules/blocklink/blocklink.php @@ -40,7 +40,8 @@ class BlockLink extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Link block'); $this->description = $this->l('Adds a block with additional links.'); diff --git a/modules/blockmanufacturer/blockmanufacturer.php b/modules/blockmanufacturer/blockmanufacturer.php index 95490d248..e349fe434 100644 --- a/modules/blockmanufacturer/blockmanufacturer.php +++ b/modules/blockmanufacturer/blockmanufacturer.php @@ -37,7 +37,8 @@ class BlockManufacturer extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Manufacturers block'); $this->description = $this->l('Displays a block listing product manufacturers and/or brands.'); diff --git a/modules/blocknewproducts/blocknewproducts.php b/modules/blocknewproducts/blocknewproducts.php index 8c431d5bc..f0998a911 100644 --- a/modules/blocknewproducts/blocknewproducts.php +++ b/modules/blocknewproducts/blocknewproducts.php @@ -37,7 +37,8 @@ class BlockNewProducts extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('New products block'); $this->description = $this->l('Displays a block featuring your store\'s newest products.'); diff --git a/modules/blocknewsletter/blocknewsletter.php b/modules/blocknewsletter/blocknewsletter.php index dba05baaf..0c33608ec 100644 --- a/modules/blocknewsletter/blocknewsletter.php +++ b/modules/blocknewsletter/blocknewsletter.php @@ -40,7 +40,8 @@ class Blocknewsletter extends Module $this->tab = 'front_office_features'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Newsletter block'); $this->description = $this->l('Adds a block for newsletter subscription.'); diff --git a/modules/blockpaymentlogo/blockpaymentlogo.php b/modules/blockpaymentlogo/blockpaymentlogo.php index 80c790e21..fb35d86b3 100644 --- a/modules/blockpaymentlogo/blockpaymentlogo.php +++ b/modules/blockpaymentlogo/blockpaymentlogo.php @@ -37,7 +37,8 @@ class BlockPaymentLogo extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Payment logo block.'); $this->description = $this->l('This block will display all of your payment logos.'); diff --git a/modules/blockreinsurance/blockreinsurance.php b/modules/blockreinsurance/blockreinsurance.php index f2affa262..acd520239 100644 --- a/modules/blockreinsurance/blockreinsurance.php +++ b/modules/blockreinsurance/blockreinsurance.php @@ -41,7 +41,8 @@ class Blockreinsurance extends Module $this->tab = 'Blocks'; $this->version = '2.0'; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Customer reassurance block'); $this->description = $this->l('Adds an information block aimed at offering helpful information to reassure customers that your store is trustworthy.'); diff --git a/modules/blockrss/blockrss.php b/modules/blockrss/blockrss.php index 54fc21efe..acbf4edf5 100644 --- a/modules/blockrss/blockrss.php +++ b/modules/blockrss/blockrss.php @@ -41,7 +41,8 @@ class Blockrss extends Module $this->tab = 'front_office_features'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('RSS feed block'); $this->description = $this->l('Adds a block displaying an RSS feed.'); diff --git a/modules/blocksocial/blocksocial.php b/modules/blocksocial/blocksocial.php index ff1d04c11..1afde558b 100644 --- a/modules/blocksocial/blocksocial.php +++ b/modules/blocksocial/blocksocial.php @@ -35,7 +35,8 @@ class blocksocial extends Module $this->tab = 'front_office_features'; $this->version = '1.0'; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Social networking block'); $this->description = $this->l('Allows you to add information about your brand\'s social networking sites.'); diff --git a/modules/blockspecials/blockspecials.php b/modules/blockspecials/blockspecials.php index d517b7fae..a20970835 100644 --- a/modules/blockspecials/blockspecials.php +++ b/modules/blockspecials/blockspecials.php @@ -40,7 +40,8 @@ class BlockSpecials extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Specials block'); $this->description = $this->l('Adds a block displaying current product specials.'); diff --git a/modules/blockstore/blockstore.php b/modules/blockstore/blockstore.php index f823c502c..93d84436b 100644 --- a/modules/blockstore/blockstore.php +++ b/modules/blockstore/blockstore.php @@ -37,7 +37,8 @@ class BlockStore extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Store locator block'); $this->description = $this->l('Displays a store locator link directly on your webiste.'); diff --git a/modules/blocksupplier/blocksupplier.php b/modules/blocksupplier/blocksupplier.php index e6db11f46..1e5c83a0a 100644 --- a/modules/blocksupplier/blocksupplier.php +++ b/modules/blocksupplier/blocksupplier.php @@ -37,7 +37,8 @@ class BlockSupplier extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Suppliers block'); $this->description = $this->l('Adds a block displaying product suppliers.'); diff --git a/modules/blocktags/blocktags.php b/modules/blocktags/blocktags.php index acda0c4c5..c9f99ba0c 100644 --- a/modules/blocktags/blocktags.php +++ b/modules/blocktags/blocktags.php @@ -39,7 +39,8 @@ class BlockTags extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Tags block'); $this->description = $this->l('Adds a block containing product tags.'); diff --git a/modules/blocktopmenu/blocktopmenu.php b/modules/blocktopmenu/blocktopmenu.php index d61e58180..5c3e1aa07 100644 --- a/modules/blocktopmenu/blocktopmenu.php +++ b/modules/blocktopmenu/blocktopmenu.php @@ -55,7 +55,8 @@ class Blocktopmenu extends Module $this->version = 1.6; $this->author = 'PrestaShop'; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Top horizontal menu'); $this->description = $this->l('Add a new horizontal menu to the top of your e-commerce website.'); diff --git a/modules/blockviewed/blockviewed.php b/modules/blockviewed/blockviewed.php index baef6e818..7e884b954 100644 --- a/modules/blockviewed/blockviewed.php +++ b/modules/blockviewed/blockviewed.php @@ -40,7 +40,8 @@ class BlockViewed extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Viewed products block.'); $this->description = $this->l('Adds a block displaying recently viewed products.'); diff --git a/modules/blockwishlist/blockwishlist.php b/modules/blockwishlist/blockwishlist.php index 4896ead54..440b04939 100644 --- a/modules/blockwishlist/blockwishlist.php +++ b/modules/blockwishlist/blockwishlist.php @@ -42,7 +42,8 @@ class BlockWishList extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Wishlist block'); $this->description = $this->l('Adds a block containing the customer\'s wishlists.'); diff --git a/modules/carriercompare/carriercompare.php b/modules/carriercompare/carriercompare.php index 76e1dd8fb..34c4bb308 100755 --- a/modules/carriercompare/carriercompare.php +++ b/modules/carriercompare/carriercompare.php @@ -40,7 +40,8 @@ class CarrierCompare extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Shipping Estimate'); $this->description = $this->l('Compares carrier choices before checkout.'); diff --git a/modules/cheque/cheque.php b/modules/cheque/cheque.php index 955362eda..5db929d98 100644 --- a/modules/cheque/cheque.php +++ b/modules/cheque/cheque.php @@ -52,7 +52,8 @@ class Cheque extends PaymentModule if (isset($config['CHEQUE_ADDRESS'])) $this->address = $config['CHEQUE_ADDRESS']; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Payments by check'); $this->description = $this->l('This module allows you to accept payments by check.'); diff --git a/modules/crossselling/crossselling.php b/modules/crossselling/crossselling.php index 81a6f3f65..83a5167fc 100755 --- a/modules/crossselling/crossselling.php +++ b/modules/crossselling/crossselling.php @@ -39,7 +39,8 @@ class CrossSelling extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Cross Selling'); $this->description = $this->l('Customers who bought this product also bought:'); diff --git a/modules/dateofdelivery/dateofdelivery.php b/modules/dateofdelivery/dateofdelivery.php index 956f316f7..5b209f604 100644 --- a/modules/dateofdelivery/dateofdelivery.php +++ b/modules/dateofdelivery/dateofdelivery.php @@ -39,7 +39,8 @@ class DateOfDelivery extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Date of delivery'); $this->description = $this->l('Displays an approximate date of delivery'); diff --git a/modules/followup/followup.php b/modules/followup/followup.php index 30feb6c78..a884911d4 100644 --- a/modules/followup/followup.php +++ b/modules/followup/followup.php @@ -45,7 +45,8 @@ class Followup extends Module 'PS_FOLLOW_UP_DAYS_THRESHOLD_4', 'PS_FOLLOW_UP_CLEAN_DB'); - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Customer follow-up'); $this->description = $this->l('Follow-up with your customers with daily customized e-mails.'); diff --git a/modules/homefeatured/homefeatured.php b/modules/homefeatured/homefeatured.php index 678742d4c..12aaf2a98 100644 --- a/modules/homefeatured/homefeatured.php +++ b/modules/homefeatured/homefeatured.php @@ -40,7 +40,8 @@ class HomeFeatured extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Featured products on the homepage.'); $this->description = $this->l('Displays featured products in the middle of your homepage.'); diff --git a/modules/homeslider/homeslider.php b/modules/homeslider/homeslider.php index d2f2417b8..096fd593f 100644 --- a/modules/homeslider/homeslider.php +++ b/modules/homeslider/homeslider.php @@ -46,6 +46,7 @@ class HomeSlider extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; $this->secure_key = Tools::encrypt($this->name); + $this->bootstrap = true; parent::__construct(); diff --git a/modules/loyalty/loyalty.php b/modules/loyalty/loyalty.php index d2a471916..df75e0aa8 100644 --- a/modules/loyalty/loyalty.php +++ b/modules/loyalty/loyalty.php @@ -46,7 +46,8 @@ class Loyalty extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Customer loyalty and rewards'); $this->description = $this->l('Provide a loyalty program to your customers.'); diff --git a/modules/mailalerts/mailalerts.php b/modules/mailalerts/mailalerts.php index d723dfaa8..686dca8da 100644 --- a/modules/mailalerts/mailalerts.php +++ b/modules/mailalerts/mailalerts.php @@ -50,7 +50,8 @@ class MailAlerts extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); if ($this->id) $this->init(); diff --git a/modules/newsletter/newsletter.php b/modules/newsletter/newsletter.php index 5361d9d02..968fff4a7 100644 --- a/modules/newsletter/newsletter.php +++ b/modules/newsletter/newsletter.php @@ -41,7 +41,8 @@ class Newsletter extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Newsletter'); $this->description = $this->l('Generates a .CSV file for mass mailings'); diff --git a/modules/productscategory/productscategory.php b/modules/productscategory/productscategory.php index 88122d9ca..336800463 100644 --- a/modules/productscategory/productscategory.php +++ b/modules/productscategory/productscategory.php @@ -39,7 +39,8 @@ class productsCategory extends Module $this->tab = 'front_office_features'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Products Category'); $this->description = $this->l('Display products of the same category on the product page.'); diff --git a/modules/producttooltip/producttooltip.php b/modules/producttooltip/producttooltip.php index d2dd44cba..f71b853d0 100644 --- a/modules/producttooltip/producttooltip.php +++ b/modules/producttooltip/producttooltip.php @@ -37,7 +37,8 @@ class ProductToolTip extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Product tooltips'); $this->description = $this->l('Show how many people are watching a product page, last sale and last cart added.'); diff --git a/modules/pscleaner/pscleaner.php b/modules/pscleaner/pscleaner.php index 503fd55f2..27d8c7810 100644 --- a/modules/pscleaner/pscleaner.php +++ b/modules/pscleaner/pscleaner.php @@ -38,7 +38,8 @@ class PSCleaner extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('PrestaShop Cleaner'); $this->description = $this->l('Check and fix functional integrity constraints and remove default data'); diff --git a/modules/referralprogram/referralprogram.php b/modules/referralprogram/referralprogram.php index d7820442e..ea030263d 100644 --- a/modules/referralprogram/referralprogram.php +++ b/modules/referralprogram/referralprogram.php @@ -36,7 +36,8 @@ class ReferralProgram extends Module $this->version = '1.5.1'; $this->author = 'PrestaShop'; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->confirmUninstall = $this->l('All sponsors and friends will be deleted. Are you sure you want to uninstall this module?'); $this->displayName = $this->l('Customer referral program'); diff --git a/modules/statsdata/statsdata.php b/modules/statsdata/statsdata.php index 6854da6a9..8a1a6b930 100644 --- a/modules/statsdata/statsdata.php +++ b/modules/statsdata/statsdata.php @@ -37,7 +37,8 @@ class StatsData extends Module $this->author = 'PrestaShop'; $this->need_instance = 0; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $this->displayName = $this->l('Data mining for statistics'); $this->description = $this->l('This module must be enabled if you want to use statistics.'); diff --git a/modules/vatnumber/vatnumber.php b/modules/vatnumber/vatnumber.php index ee7e96c86..d3642cdab 100755 --- a/modules/vatnumber/vatnumber.php +++ b/modules/vatnumber/vatnumber.php @@ -39,7 +39,8 @@ class VatNumber extends TaxManagerModule $this->tax_manager_class = 'VATNumberTaxManager'; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $id_country = (int)Configuration::get('VATNUMBER_COUNTRY'); if ($id_country == 0) diff --git a/modules/watermark/watermark.php b/modules/watermark/watermark.php index eb9e8a612..66cff24dd 100644 --- a/modules/watermark/watermark.php +++ b/modules/watermark/watermark.php @@ -46,7 +46,8 @@ class Watermark extends Module $this->version = '0.3'; $this->author = 'PrestaShop'; - parent::__construct(); + $this->bootstrap = true; + parent::__construct(); $config = Configuration::getMultiple(array('WATERMARK_TYPES', 'WATERMARK_Y_ALIGN', 'WATERMARK_X_ALIGN', 'WATERMARK_TRANSPARENCY')); if (!isset($config['WATERMARK_TYPES']))