mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 09:05:58 +00:00
Merge remote-tracking branch 'origin/0.6'
This commit is contained in:
commit
83d36645f2
@ -310,8 +310,7 @@ class BlogHolder_Controller extends BlogTree_Controller {
|
||||
$blogentry->Locale = $this->Locale;
|
||||
}
|
||||
|
||||
$blogentry->Status = "Published";
|
||||
$blogentry->writeToStage("Live");
|
||||
$blogentry->writeToStage("Stage");
|
||||
$blogentry->publish("Stage", "Live");
|
||||
|
||||
$this->redirect($this->Link());
|
||||
|
Loading…
x
Reference in New Issue
Block a user