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.
Hi, there.
Right now, if you're using uc_file, you users will get such message "%user has been allowed to download %file" each time they get order. I think it's frustrating and needed only to admins. I made a patch which makes this as watchdog message, not a drupal_set_message().
Please, review.
Comment | File | Size | Author |
---|---|---|---|
uc_file_remove_message_on_renew.patch | 1.08 KB | neochief | |
Comments
Comment #1
Island Usurper CreditAttribution: Island Usurper commentedThat's a good idea, I think. I've committed this patch, but see if there are any other messages like that which should be watchdog() messages. I imagine a lot of them should actually use both watchdog() and drupal_set_message().