aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-06-02 12:24:31 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-09-09 08:27:47 +0200
commit25df7f814920a67b1d9b1e65e797c44960026585 (patch)
tree6a212e8790aeef7ebef3cccd1fdd7f543a38adf4
parentc34fd1e7c030860169bcbde9ac3c4f75d610cd60 (diff)
downloadforums-25df7f814920a67b1d9b1e65e797c44960026585.tar
forums-25df7f814920a67b1d9b1e65e797c44960026585.tar.gz
forums-25df7f814920a67b1d9b1e65e797c44960026585.tar.bz2
forums-25df7f814920a67b1d9b1e65e797c44960026585.tar.xz
forums-25df7f814920a67b1d9b1e65e797c44960026585.zip
[ticket/13904] Remove functions_fileupload.php
PHPBB3-13904
-rw-r--r--phpBB/includes/functions_upload.php31
-rw-r--r--tests/upload/filespec_test.php1
-rw-r--r--tests/upload/fileupload_test.php1
3 files changed, 0 insertions, 33 deletions
diff --git a/phpBB/includes/functions_upload.php b/phpBB/includes/functions_upload.php
deleted file mode 100644
index 398771e92a..0000000000
--- a/phpBB/includes/functions_upload.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-/**
-*
-* This file is part of the phpBB Forum Software package.
-*
-* @copyright (c) phpBB Limited <https://www.phpbb.com>
-* @license GNU General Public License, version 2 (GPL-2.0)
-*
-* For full copyright and license information, please see
-* the docs/CREDITS.txt file.
-*
-*/
-
-/**
-* @ignore
-*/
-if (!defined('IN_PHPBB'))
-{
- exit;
-}
-
-/**
-* Class for assigning error messages before a real filespec class can be assigned
-*/
-class fileerror extends \phpbb\files\filespec
-{
- function fileerror($error_msg)
- {
- $this->error[] = $error_msg;
- }
-}
diff --git a/tests/upload/filespec_test.php b/tests/upload/filespec_test.php
index f3260bf1a9..10577ec8f3 100644
--- a/tests/upload/filespec_test.php
+++ b/tests/upload/filespec_test.php
@@ -13,7 +13,6 @@
require_once __DIR__ . '/../../phpBB/includes/functions.php';
require_once __DIR__ . '/../../phpBB/includes/utf/utf_tools.php';
-require_once __DIR__ . '/../../phpBB/includes/functions_upload.php';
class phpbb_filespec_test extends phpbb_test_case
{
diff --git a/tests/upload/fileupload_test.php b/tests/upload/fileupload_test.php
index d4785c782c..8b7056e9cf 100644
--- a/tests/upload/fileupload_test.php
+++ b/tests/upload/fileupload_test.php
@@ -13,7 +13,6 @@
require_once __DIR__ . '/../../phpBB/includes/functions.php';
require_once __DIR__ . '/../../phpBB/includes/utf/utf_tools.php';
-require_once __DIR__ . '/../../phpBB/includes/functions_upload.php';
require_once __DIR__ . '/../mock/filespec.php';
class phpbb_fileupload_test extends phpbb_test_case