You are here

function revisioning_get_revision_uid in Revisioning 6.3

Return the id of the user who created the revision by the supplied vid.

1 call to revisioning_get_revision_uid()
revisioning_token_values in ./revisioning_tokens.inc
Implementation of hook_token_values().

File

./revisioning_api.inc, line 580
API functions of Revisioning module

Code

function revisioning_get_revision_uid($vid) {
  return db_result(db_query('SELECT uid FROM {node_revisions} WHERE vid = %d', $vid));
}