<?php
/**
 * Page Cache powered by Jpresta (jpresta . com)
 *
 * @author    Jpresta
 * @copyright Jpresta
 * @license   You are just allowed to modify this copy for your own use. You must not redistribute it. License
 *               is permitted for one Prestashop instance only but you can install it on your test instances.
 */

/*
 * Modifications to manage widget_block smarty tag
 */
function upgrade_module_4_24($module)
{
    if (Tools::version_compare(_PS_VERSION_, '1.7', '>')) {
        $module->patchSmartyConfigFrontWidgetBlock();
        $module->addOverride('Module');
    }
    return true;
}
