Up to [LON-CAPA] / loncom / interface
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Current tag: version_2_3_0
Renaming unread_discussion() as discussion_info() and making the funtion more universally useful. Can now be used to retrieve counts for all postings, or just unread postings (if 'unread') is included as an argumnet in the call (e.g., $resource->discussion_info('unread');). Also if called in array context, returns ($count,%info), where %info is a hash of a hash. Outer hash keys are count number, inner hash keys are: subject, id, timestamp.