Merge pull request #4268 from devansh-webkul/test-case
Installation errors during composer install #4267
This commit is contained in:
commit
1b1270111b
|
|
@ -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');
|
||||
// });
|
||||
// }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue