]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Conforming to code layout
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 1 Sep 2013 18:52:11 +0000 (20:52 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 1 Sep 2013 18:52:11 +0000 (20:52 +0200)
lib/formaction.php

index dad49805ef1efc736e2611640a14db9668c04f01..fda66007d87ba829df7c894dca3efcd674ea88f3 100644 (file)
@@ -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) {