We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit c735a836 authored by mattl's avatar mattl

Conforming to code layout

parent 83000f6f
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment