aboutsummaryrefslogtreecommitdiffstats
path: root/upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'upload.php')
-rw-r--r--upload.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/upload.php b/upload.php
index bcb82bee9..7d04c5db1 100644
--- a/upload.php
+++ b/upload.php
@@ -27,19 +27,12 @@ define('PHPWG_ROOT_PATH','./');
// | Includes |
// +-----------------------------------------------------------------------+
include_once(PHPWG_ROOT_PATH.'include/common.inc.php');
-include_once(PHPWG_ROOT_PATH.'include/upload.class.php');
// +-----------------------------------------------------------------------+
// | Check Access and exit when user status is not ok |
// +-----------------------------------------------------------------------+
check_status($conf['upload_user_access']);
-// +-----------------------------------------------------------------------+
-// | Create upload object |
-// +-----------------------------------------------------------------------+
-$upload = new Upload();
-
-
$username = !empty($_POST['username']) ? $_POST['username']:(is_classic_user() ? $user['username'] : '');
$mail_address = !empty($_POST['mail_address']) ? $_POST['mail_address'] : (is_classic_user() ? $user['email'] : '');
$name = !empty($_POST['name']) ? $_POST['name'] : '';