mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Rebase and merge upstream
This commit is contained in:
commit
6d7a1345c0
@ -320,6 +320,7 @@ class BlogHolder_Controller extends BlogTree_Controller {
|
|||||||
$oldMode = Versioned::get_reading_mode();
|
$oldMode = Versioned::get_reading_mode();
|
||||||
Versioned::reading_stage('Stage');
|
Versioned::reading_stage('Stage');
|
||||||
$blogentry->write();
|
$blogentry->write();
|
||||||
|
$blogentry->writeToStage("Stage");
|
||||||
$blogentry->publish("Stage", "Live");
|
$blogentry->publish("Stage", "Live");
|
||||||
Versioned::set_reading_mode($oldMode);
|
Versioned::set_reading_mode($oldMode);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user