diff options
| author | Juuso Lapinlampi <wub@partyvan.eu> | 2016-05-29 15:39:25 +0200 |
|---|---|---|
| committer | Juuso Lapinlampi <wub@partyvan.eu> | 2016-05-29 15:48:46 +0200 |
| commit | 19a3645c2415bbe45c0a6cadd003d7b3ef04a630 (patch) | |
| tree | c790022f0409bd5a80c55c17d8f0c7706eca9203 /static/classes/UploadException.class.php | |
| parent | 2a998798c143460c4137e1c1b575cc28d7dd69d2 (diff) | |
upload.php: Don't unlink() tempfiles in upload_file()
We don't need to care about garbage collection and explicitly unlinking
temporary files: PHP will handle that for us automatically. In other
words, this is "dead" code. Less code the better.
Updates the comment before it to reflect this.
Tested on PHP 5.6.22 and PHP 7.0.7 on Debian stretch/sid GNU/Linux.
Tested-by: Juuso Lapinlampi <wub@partyvan.eu>
See: https://secure.php.net/manual/en/function.tmpfile.php
Diffstat (limited to 'static/classes/UploadException.class.php')
0 files changed, 0 insertions, 0 deletions
