From 19fc30dfdcd10768fd01cba74c61a7da631eb606 Mon Sep 17 00:00:00 2001 From: David Blankenship Date: Mon, 18 Sep 2023 16:54:18 -0400 Subject: [PATCH] chore(YALB-1423-1425-1426-static-gifs): remove log Left a log in; it's gone. --- .../yalesites_profile/modules/custom/ys_core/ys_core.module | 2 -- 1 file changed, 2 deletions(-) diff --git a/web/profiles/custom/yalesites_profile/modules/custom/ys_core/ys_core.module b/web/profiles/custom/yalesites_profile/modules/custom/ys_core/ys_core.module index 5e2015a8bd..53e41438bd 100644 --- a/web/profiles/custom/yalesites_profile/modules/custom/ys_core/ys_core.module +++ b/web/profiles/custom/yalesites_profile/modules/custom/ys_core/ys_core.module @@ -335,8 +335,6 @@ function ys_core_taxonomy_term_update() { * Checks if the image is a gif and if so, it will remove the animation. */ function ys_core_media_presave($entity) { - // Log the instance type. - \Drupal::logger('ys_core')->notice('Media type: ' . $entity->bundle()); // Test if it's an image and a gif. if ($entity->bundle() == 'image' && $entity->get('field_media_image')->entity->get('filemime')->value == 'image/gif') { // Get the file path.