Needs review
Project:
Node Moderation
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2007 at 15:53 UTC
Updated:
17 Jan 2007 at 17:06 UTC
Jump to comment: Most recent file
Comments
Comment #1
yched commentedOops - forgot the strtr in code copy / paste.
The return value should be :
More importantly, the $limit == NULL issue actually stops the update from doing anything.
Removing it (and changing db_query_range to a regular db_query) seems to do the trick.
(the update function might then need to be reworked to account for multistep updating in order to avoid potential php timeout issues for large number of records in nmoderation_uservotes)
Questions :
- it seems nmoderation_uservotes is empty after the update, so it might be dropped ?
- it seems nmoderation_filters is not used anymore, so it might also be dropped ?
Comment #2
yched commentedupdated patch :
NMODERATION_TYPE should be NMODERATION_VOTE_TYPE