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
I just stumbled over a call to token_info()
in ctools_context_entity_convert()
.
From what I currently see the call seems unnecessary as the created variable $tokens
isn't used anywhere and to my knowledge a priming of the tokens before calling token_generate()
isn't necessary.
Proposed resolution
Remove the call. Unless someone knows a reason why to keep it :)
Remaining tasks
Reviews needed.
Comment | File | Size | Author |
---|---|---|---|
ctools-ctools_context_entity_convert-cleanup.patch | 488 bytes | das-peter |
Comments