Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
FILE: /home/paulocs/AmbienteTeste/Drupal 8.9/drupal-8.9.0/modules/contrib/colorbox/colorbox.theme.inc
-----------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------
28 | WARNING | Unused variable $gallery_token.
41 | WARNING | Unused variable $entity_bundle.
-----------------------------------------------------------------------------------------------------
Proposed resolution
Remove unused variables.
$gallery_token was introduced in: https://git.drupalcode.org/project/colorbox/-/commit/b022668b3ddc70feb36cf9bbc8d61511e0af4d52 but it is not used any more.
$gallery_token was introduced in: https://www.drupal.org/project/colorbox/issues/2692235
Comment | File | Size | Author |
---|---|---|---|
#2 | 3173192-2.patch | 743 bytes | paulocs |
|
Comments
Comment #2
paulocsA patch for it.
Comment #4
Neslee Canil Pinto