Merge pull request #4268 from devansh-webkul/test-case

Installation errors during composer install #4267
This commit is contained in:
Glenn Hermans 2020-11-18 05:29:11 +01:00 committed by GitHub
commit 1b1270111b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -15,11 +15,11 @@ class EventServiceProvider extends ServiceProvider
* @return void
*/
public function boot()
{
if (core()->getConfigData('sales.paymentmethods.paypal_smart_button.active')) {
Event::listen('bagisto.shop.layout.body.after', static function(ViewRenderEventManager $viewRenderEventManager) {
$viewRenderEventManager->addTemplate('paypal::checkout.onepage.paypal-smart-button');
});
}
{
// if (core()->getConfigData('sales.paymentmethods.paypal_smart_button.active')) {
// Event::listen('bagisto.shop.layout.body.after', static function(ViewRenderEventManager $viewRenderEventManager) {
// $viewRenderEventManager->addTemplate('paypal::checkout.onepage.paypal-smart-button');
// });
// }
}
}