summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/class/form.class.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/app/class/form.class.php b/app/class/form.class.php
index e748afc..9f103ba 100644
--- a/app/class/form.class.php
+++ b/app/class/form.class.php
@@ -13,7 +13,6 @@ class Form
$this->textFields = array();
$this->numbFields = array();
$this->enumFields = array();
- $this->fileFields = array();
$this->errorlist = array();
}
@@ -87,22 +86,6 @@ class Form
}
/*
- * Add new file field to the form
- */
- function field_file($name, $maxsize, $allowed_mime = null, $req = false)
- {
- if ($req !== true)
- $req = false;
-
- $this->fileFields[] = array(
- 'name' => $name,
- 'maxsize' => $maxsize,
- 'mime' => $allowed_mime,
- 'req' => $req
- );
- }
-
- /*
* Populate the form with input data from web page
*/
function populate($input)