Skip to content

Commit

Permalink
chore(YALB-1423-1425-1426-static-gifs): remove log
Browse files Browse the repository at this point in the history
Left a log in; it's gone.
  • Loading branch information
dblanken-yale committed Sep 18, 2023
1 parent 715eb8d commit 19fc30d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 19fc30d

Please sign in to comment.