aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2004-03-20 17:06:21 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2004-03-20 17:06:21 +0000
commitfa36798694a55faa0210c3a5eca7dd41e92a2edc (patch)
treec228bde49a44270273531b609898b80ab9b52085 /phpBB/includes/functions_posting.php
parentba7008b387d1972736c638444cb6273c3d9ebeab (diff)
downloadforums-fa36798694a55faa0210c3a5eca7dd41e92a2edc.tar
forums-fa36798694a55faa0210c3a5eca7dd41e92a2edc.tar.gz
forums-fa36798694a55faa0210c3a5eca7dd41e92a2edc.tar.bz2
forums-fa36798694a55faa0210c3a5eca7dd41e92a2edc.tar.xz
forums-fa36798694a55faa0210c3a5eca7dd41e92a2edc.zip
add a little bit more information for style authors
ease the jumpbox handling a little bit git-svn-id: file:///svn/phpbb/trunk@4870 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index f43a28b9d3..e6158eb370 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -503,20 +503,6 @@ function create_thumbnail($source, $new_file, $mimetype)
return true;
}
-// Check if extension is allowed to be posted within forum X
-function extension_allowed($forum_id, $extension)
-{
- global $extensions;
-
- if (!isset($extensions) || !is_array($extensions))
- {
- $extensions = array();
- obtain_attach_extensions($extensions);
- }
-
- return (is_array($extensions['_allowed_'][$extension]) && !in_array($forum_id, $extensions['_allowed_'][$extension])) || !isset($extensions['_allowed_'][$extension]);
-}
-
//
// TODO
//