* @copyright PayPal * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * */ if (!defined('_PS_VERSION_')) { exit; } use PaypalPPBTlib\Install\ModuleInstaller; /** * @param $module PayPal * @return bool */ function upgrade_module_4_5_0($module) { $installer = new ModuleInstaller($module); $installer->registerHooks(); $installer->installObjectModel('PaypalOrder'); $installer->installAdminControllers(); $installer->installExtensions(); return true; }