Switch to tab based indentation

This commit is contained in:
Morven Lewis-Everley 2014-08-06 10:45:27 +01:00
parent fa324f2f2c
commit 9bea8af325

View File

@ -284,7 +284,7 @@ class BlogHolder_Controller extends BlogTree_Controller {
$form->loadDataFrom(array("Author" => Cookie::get("BlogHolder_Name"))); $form->loadDataFrom(array("Author" => Cookie::get("BlogHolder_Name")));
} }
$this->extend("updateBlogEntryForm", $form); $this->extend("updateBlogEntryForm", $form);
return $form; return $form;
} }
@ -315,12 +315,12 @@ class BlogHolder_Controller extends BlogTree_Controller {
$blogentry->Locale = $this->Locale; $blogentry->Locale = $this->Locale;
} }
$this->extend("onBeforePostBlog", $blogentry); $this->extend("onBeforePostBlog", $blogentry);
$blogentry->writeToStage("Stage"); $blogentry->writeToStage("Stage");
$blogentry->publish("Stage", "Live"); $blogentry->publish("Stage", "Live");
$this->extend("onAfterPostBlog", $blogentry); $this->extend("onAfterPostBlog", $blogentry);
$this->redirect($this->Link()); $this->redirect($this->Link());
} }