Conforming to code layout

This commit is contained in:
Mikael Nordfeldth 2013-09-01 20:52:11 +02:00
parent 83000f6f5e
commit c735a8363e
1 changed files with 5 additions and 2 deletions

View File

@ -98,7 +98,9 @@ class FormAction extends Action
* *
* SHOULD overload * SHOULD overload
*/ */
public function showInstructions() { public function showInstructions()
{
// instructions are nice, so users know what to do
} }
public function showForm($msg=null, $success=false) public function showForm($msg=null, $success=false)
@ -115,7 +117,8 @@ class FormAction extends Action
* Gets called from handle() if isPost() is true; * Gets called from handle() if isPost() is true;
* @return void * @return void
*/ */
protected function handlePost() { protected function handlePost()
{
// check for this before token since all POST and FILES data // check for this before token since all POST and FILES data
// is losts when size is exceeded // is losts when size is exceeded
if (empty($_POST) && $_SERVER['CONTENT_LENGTH']>0) { if (empty($_POST) && $_SERVER['CONTENT_LENGTH']>0) {