Permalink
Browse files

API CHANGE Moved SiteTree->doRollbackTo() to Versioned class

  • Loading branch information...
chillu committed Mar 23, 2011
1 parent 81881e1 commit 426f7e734f761b07b27dbea7e0ca314e8d15d199
Showing with 0 additions and 11 deletions.
  1. +0 −11 code/SiteTree.php
View
@@ -2135,17 +2135,6 @@ function doUnpublish() {
return true;
}
- /**
- * Roll the draft version of this page to match the published page.
- * Caution: Doesn't overwrite the object properties with the rolled back version.
- *
- * @param $version Either the string 'Live' or a version number
- */
- function doRollbackTo($version) {
- $this->publish($version, "Stage", true);
- $this->writeWithoutVersion();
- }
-
/**
* Revert the draft changes: replace the draft content with the content on live
*/

0 comments on commit 426f7e7

Please sign in to comment.