Posted by hydrian on August 26, 2007 at 2:15am
3 followers
Jump to:
| Project: | Inactive User |
| Version: | 7.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I need be to set users that are exempt from this module's rules. I'm thinking of doing one of two ways... One is a user list and you explicitly select the users from a userlist. Two, you select a role(s) and any user within them is exempt. Personally, I think being able set it via role is more useful.
Comments
#1
subscribe
#2
subscribe
#3
I got around this (I think, fingers crossed) by adding the ID of the user I wanted to exempt in a function override to the function inactive_user_cron()
So I changed from
WHERE uid <> 1
to
WHERE uid <> 1 or uid <> [id of exempt user]
Which I think should work.
Hope this helps someone else looking to achieve this.
#4
subscribe