SproutCMS

This is the code documentation for the SproutCMS project

function activateRevision()

Makes a particular revision live, and changes the status of the previous live revision to 'old'.
Should be run inside a transaction.

Usage

void Page::activateRevision ( ID $rev_id );

Arguments

  1. ID $rev_id
    of revision to make live

Return value

  • void