function spaces_announce_log in Spaces 5.2
Same name and namespace in other branches
- 5 spaces_announce/spaces_announce.module \spaces_announce_log()
Retrieve the view log for a announcement
1 string reference to 'spaces_announce_log'
- spaces_announce_views_tables in spaces_announce/
spaces_announce.module - Implementation of hook_views_tables.
File
- spaces_announce/
spaces_announce.module, line 260
Code
function spaces_announce_log($nid) {
return db_fetch_object(db_query('SELECT count, viewed FROM {spaces_announce_log} WHERE nid = %d', $nid));
}