aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRubén Calvo <rubencm@gmail.com>2018-06-07 14:56:46 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-05-09 18:54:58 +0200
commit0a2589b5e0b6f953fc08c382f9da412805f48527 (patch)
tree30d4b581a71b8dd0dccb0d64b0d248b9df8bcb12
parent35fef8333ad1adf510ce7f414bdccc70849ae059 (diff)
downloadforums-0a2589b5e0b6f953fc08c382f9da412805f48527.tar
forums-0a2589b5e0b6f953fc08c382f9da412805f48527.tar.gz
forums-0a2589b5e0b6f953fc08c382f9da412805f48527.tar.bz2
forums-0a2589b5e0b6f953fc08c382f9da412805f48527.tar.xz
forums-0a2589b5e0b6f953fc08c382f9da412805f48527.zip
[ticket/15663] Move constant to compatibility_globals
PHPBB3-15663
-rw-r--r--phpBB/includes/compatibility_globals.php1
-rw-r--r--phpBB/includes/constants.php1
2 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/compatibility_globals.php b/phpBB/includes/compatibility_globals.php
index 223c8a0120..15880d4bc8 100644
--- a/phpBB/includes/compatibility_globals.php
+++ b/phpBB/includes/compatibility_globals.php
@@ -24,6 +24,7 @@ if (!defined('IN_PHPBB'))
define('ATTACHMENT_CATEGORY_WM', 2); // Windows Media Files - Streaming - @deprecated 3.2
define('ATTACHMENT_CATEGORY_RM', 3); // Real Media Files - Streaming - @deprecated 3.2
define('ATTACHMENT_CATEGORY_QUICKTIME', 6); // Quicktime/Mov files - @deprecated 3.2
+define('ATTACHMENT_CATEGORY_FLASH', 5); // Flash/SWF files - @deprecated 3.3
/**
* Sets compatibility globals in the global scope
diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php
index 041f4c5022..ba4856a1cc 100644
--- a/phpBB/includes/constants.php
+++ b/phpBB/includes/constants.php
@@ -172,7 +172,6 @@ define('CONFIRM_REPORT', 4);
define('ATTACHMENT_CATEGORY_NONE', 0);
define('ATTACHMENT_CATEGORY_IMAGE', 1); // Inline Images
define('ATTACHMENT_CATEGORY_THUMB', 4); // Not used within the database, only while displaying posts
-define('ATTACHMENT_CATEGORY_FLASH', 5); // Flash/SWF files
// BBCode UID length
define('BBCODE_UID_LEN', 8);