summaryrefslogtreecommitdiffstats
path: root/app/class/form.class.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2016-04-27 20:47:21 -0400
committerMalf Furious <m@lfurio.us>2016-04-27 20:47:21 -0400
commit9458874e8c194b1c5a53bd3e85f9ba7548c9dac4 (patch)
tree15d7b57959d1a4afa7a8a208c383ddcffe6d2f7d /app/class/form.class.php
parentcaebcb442985496b3bddaa3e7c1a752832e32e0b (diff)
downloadscrott-9458874e8c194b1c5a53bd3e85f9ba7548c9dac4.tar.gz
scrott-9458874e8c194b1c5a53bd3e85f9ba7548c9dac4.zip
Revert "Add form field type 'file'"
This reverts commit 8ad6e8f9223bd3ee214478b3e1247f9c7d8e91ec. See parent commit message
Diffstat (limited to 'app/class/form.class.php')
-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)