aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 8dc13b1e47..db518d3918 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -345,29 +345,6 @@ class ucp extends user
}
-
- function check_image_type(&$type)
- {
- global $user;
-
- switch ($type)
- {
- case 'jpeg':
- case 'pjpeg':
- case 'jpg':
- return '.jpg';
- case 'gif':
- return '.gif';
- case 'png':
- return '.png';
- case 'bmp':
- return '.bmp';
- }
-
- $this->error[] = $user->lang['INVALID_IMAGETYPE'];
- return false;
- }
-
}
?> \ No newline at end of file