diff options
| author | Eliot Whalan <ewhal@pantsu.cat> | 2016-06-16 00:02:17 +0200 |
|---|---|---|
| committer | Eliot Whalan <ewhal@pantsu.cat> | 2016-06-16 00:02:17 +0200 |
| commit | 9f87469d24b6002704f7d16eca0be77e54d5f294 (patch) | |
| tree | 36cff67f5b25ffe177ee4d2ad1cfe7f32c88203a /static | |
| parent | aceceaa956205577601daff4ff29a64b17caac3d (diff) | |
Revert most ofddccf5f1c26517bf58cd45e3d92096fc760d9db6
Diffstat (limited to 'static')
| -rwxr-xr-x | static/classes/Response.class.php | 27 | ||||
| -rw-r--r-- | static/classes/UploadedFile.class.php | 26 | ||||
| -rw-r--r-- | static/upload.php | 24 |
3 files changed, 0 insertions, 77 deletions
diff --git a/static/classes/Response.class.php b/static/classes/Response.class.php index 48b9b58..02e42eb 100755 --- a/static/classes/Response.class.php +++ b/static/classes/Response.class.php @@ -1,31 +1,4 @@ <?php - -/** - * Prints file upload API responses depending on desired response type format. - * - * @copyright Copyright (c) 2015 cenci0 <alchimist94@gmail.com> - * @copyright Copyright (c) 2015, 2016 the Pantsu.cat developers - * <hostmaster@pantsu.cat> - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - /** * The Response class is a do-it-all for getting responses out in different * formats. diff --git a/static/classes/UploadedFile.class.php b/static/classes/UploadedFile.class.php index ccbaea8..c55a22d 100644 --- a/static/classes/UploadedFile.class.php +++ b/static/classes/UploadedFile.class.php @@ -1,31 +1,5 @@ <?php -/** - * Returns information about uploaded files. - * - * @copyright Copyright (c) 2013, 2014 Peter Lejeck <peter.lejeck@gmail.com> - * @copyright Copyright (c) 2016 the Pantsu.cat developers - * <hostmaster@pantsu.cat> - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - class UploadedFile { /* Public attributes */ diff --git a/static/upload.php b/static/upload.php index 4b1f73d..f6fe155 100644 --- a/static/upload.php +++ b/static/upload.php @@ -3,30 +3,6 @@ /** * Handles POST uploads, generates filenames, moves files around and commits * uploaded metadata to database. - * - * @copyright Copyright (c) 2013, 2014 Peter Lejeck <peter.lejeck@gmail.com> - * @copyright Copyright (c) 2013, 2014, 2015 Eric Johansson <neku@pomf.se> - * @copyright Copyright (c) 2015 cenci0 <alchimist94@gmail.com> - * @copyright Copyright (c) 2015, 2016 the Pantsu.cat developers - * <hostmaster@pantsu.cat> - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. */ // Check if we can compress our output; if we can, we'll do it |
