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.
VotingAPI for drupal 7 changes some of the key names in the array structures passed to hook_votingapi_insert and hook_votingapi_delete. Where before you had 'content_type' and 'content_id' it now uses 'entity_type' and 'entity_id'.
Attached patch fixes this and at the same time also updates the query in _expire_votingapi() to use DBTNG and to use the new table name for comments ({comments} d6 -> {comment} d7).
Comment | File | Size | Author |
---|---|---|---|
expire-votingapi_fix.patch | 974 bytes | jaydub |
Comments
Comment #1
halcyonCorsair CreditAttribution: halcyonCorsair commented