We need a good function to fetch the statistics available through the API. Thought I'd post this patch for review as it will help several other issues:
#519368: Move the statistics graph from admin/settings/mollom to admin/reports/mollom
#423918: Add a basic statistics block (Molstats)
#487052: Add token integration
If everything looks good, I'm going to commit this tomorrow.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | mollom-statistics-api.patch | 2.01 KB | dave reid |
| #3 | mollom-statistics-api.patch | 1.9 KB | dave reid |
| #2 | mollom-statistics-api.patch | 1.88 KB | dave reid |
| mollom-statistics-api.patch | 1.77 KB | dave reid |
Comments
Comment #1
dave reidA question: Do we want a configurable 'minimum' fetch interval? What should we name the variable?
Comment #2
dave reidProbably best to leave it at being fetched no more often than every hour. Wim Leers pointed out some helpful advice when using the built-in cache as well.
Comment #3
dave reidSmall comment change.
Comment #4
dave reidHere's the revision I committed to CVS with improved documentation.
Comment #5
dries commentedSomewhat relevant discussion for future clean-up: http://drupal.org/node/485974#comment-1877010