From 956b1f3dbd511c5c6db4a8755e7c12b6504bdf8f Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Tue, 3 Oct 2023 11:51:48 -0700 Subject: [PATCH] Prevent ci from running redirect --- src/EventSubscriber/EventSubscriber.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/EventSubscriber/EventSubscriber.php b/src/EventSubscriber/EventSubscriber.php index 97f1d1d59..4e4837262 100644 --- a/src/EventSubscriber/EventSubscriber.php +++ b/src/EventSubscriber/EventSubscriber.php @@ -98,6 +98,7 @@ public function onEntityInsert(EntityInsertEvent $event) { public function onEntityPreSave(EntityPresaveEvent $event) { $entity = $event->getEntity(); if ( + !getenv('CI') && $entity->getEntityTypeId() == 'config_pages' && $entity->bundle() == 'stanford_basic_site_settings' ) {