diff options
author | Malf Furious <m@lfurio.us> | 2016-04-27 20:41:35 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2016-04-27 20:41:35 -0400 |
commit | dbf4512ce48c04af4a8332cff3064f29b5690446 (patch) | |
tree | 05f42d8620c164ec144563d624b08d64ac6afb64 | |
parent | d6d56ec5b3d46598d520ac77dd7e2fd4819e9361 (diff) | |
download | scrott-dbf4512ce48c04af4a8332cff3064f29b5690446.tar.gz scrott-dbf4512ce48c04af4a8332cff3064f29b5690446.zip |
Revert "Add function Form::saveUploadedFile()"
This reverts commit 3d493fc75dc6e3593001c2d9dfef26f4c1d79c2c.
The way I was wanting to handle file uploads isn't going to fly with a
semantic of PHP and POST var mgmt. -.- Rolling back relevant changes to
write up something else.
-rw-r--r-- | app/class/form.class.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/class/form.class.php b/app/class/form.class.php index 3f28a36..529c480 100644 --- a/app/class/form.class.php +++ b/app/class/form.class.php @@ -232,14 +232,6 @@ class Form /* return */ return count($this->errorlist) == 0; } - - /* - * Save file uploaded through web form - */ - function saveUploadedFile($file, $filename) - { - return move_uploaded_file($file['tmp_name'], $filename); - } } ?> |