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.
Now that the "Reason" truncation setting has been committed to the main Userpoints module, we need to remove the equivalent truncation setting from User points Nodes and Comments. It isn't needed anymore!
--Ben
Comment | File | Size | Author |
---|---|---|---|
#1 | remove_truncation.patch | 1.58 KB | Berdir |
Comments
Comment #1
BerdirPatch is simple, doesn't need much testing I guess.
Comment #2
BenK CreditAttribution: BenK commentedI tested this and the truncation setting went away without any ill effects. And all of my "Added [Title]" reasons had truncation successfully removed.
Only thing thing I noticed: If the points transaction was provided by the Revisions sub-module, then the truncation didn't go away. It appears to still be truncated according to the old setting. (I'm talking about reasons in the format "Revised [Title]".
Is there some code in the Revisions sub-module that needs to be deleted too (now that this module is part of up-nc)?
--Ben
Comment #3
BerdirYes, there is code. Removed that and commited the patch.