function messaging_store_load in Messaging 6.2
Same name and namespace in other branches
- 6 messaging.store.inc \messaging_store_load()
- 6.3 messaging.store.inc \messaging_store_load()
Load single message from store
File
- ./
messaging.store.inc, line 138 - Database storage for the messaging framework
Code
function messaging_store_load($mqid) {
if ($message = db_fetch_object(db_query('SELECT * FROM {messaging_store} WHERE mqid = %d', $mqid))) {
messaging_store_unpack($message, TRUE);
return $message;
}
}