Closed (fixed)
Project:
Cache Expiration
Version:
7.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2012 at 00:56 UTC
Updated:
19 Mar 2012 at 09:50 UTC
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 commented