There's a case in which users may want to have tweets of their accounts displayed immediately on the site. For people using admin_menu, I think it would be a nice feature to have a link to flush the twitter pull cache, next to the other items within the "Flush all caches" item of admin_menu.

Patch attached. It's just the implementation of hook_admin_menu_cache_info() and a callback function to flush the caches. It also fixes several empty lines at the end of twitter_pull.module, leaving only one newline at the end.

Cheers,

Salva

CommentFileSizeAuthor
admin_menu_support.patch3.36 KBslv_

Comments

slv_’s picture

Status: Active » Needs review
wbobeirne’s picture

Status: Needs review » Reviewed & tested by the community

Applies cleanly, works for me. Thanks!

jec006’s picture

Status: Reviewed & tested by the community » Fixed

Committed thanks

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.