Hi there,
I really like your module, I've experimented with similar things and I'm really happy that you already Implemented my thoughts ;D
Here are some changes I need for my current project and may be good for others too:
- I don't want the ETA message; added an option to hide it
- Your not deleting used variables, but as d7 don't knows what variable belongs to which module, they have to be removed by hook_uninstall()
- Added some comments (where missing), removed trailing spaces, .. the general code review / best practices stuff (as far I know them)
Hope the patch is okay so far and if interested I'd also do some further development on your module as co-maintainer (flexibility/best practice).
ty
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | optional_eta_uninstall_variables-1347688-3.patch | 13.51 KB | patrickd |
| optional_eta_uninstall_variables--0.patch | 13.5 KB | patrickd |
Comments
Comment #1
gielfeldt commentedHi Patrick
Thanks for the nice words.
I can see you've accidentally called the hook_uninstall() function in background_process.install for "background_batch_uninstall()". Copy/paste type I assume :-) Otherwise it looks great.
I'll grant you git access right away, then you can apply the patch yourself. You're now officially a co-maintainer :-)
Comment #2
gielfeldt commentedComment #3
patrickd commentedaww, busted ^^ I corrected it directly but didn't redo the patch, sry
cool, thank you!
First project I'm co-maintaining hope I'll do it all right, otherwise please just hit me, I'm still learning ;)
Comment #4
gielfeldt commentedSeems to work as expected. Ok by me. Thumbs up. Go ahead and apply.
Comment #5
patrickd commentedcommitted.
Comment #6
gielfeldt commentedFYI, I've ported the changes to 6.x and 8.x