From c735a8363ecc3f2d21191b2d6b2c85aa1821433a Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sun, 1 Sep 2013 20:52:11 +0200 Subject: [PATCH] Conforming to code layout --- lib/formaction.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/formaction.php b/lib/formaction.php index dad49805ef..fda66007d8 100644 --- a/lib/formaction.php +++ b/lib/formaction.php @@ -98,7 +98,9 @@ class FormAction extends Action * * SHOULD overload */ - public function showInstructions() { + public function showInstructions() + { + // instructions are nice, so users know what to do } public function showForm($msg=null, $success=false) @@ -115,7 +117,8 @@ class FormAction extends Action * Gets called from handle() if isPost() is true; * @return void */ - protected function handlePost() { + protected function handlePost() + { // check for this before token since all POST and FILES data // is losts when size is exceeded if (empty($_POST) && $_SERVER['CONTENT_LENGTH']>0) {