1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16820] Move ATTACHMENT_CATEGORY_ constants to attachment namespace

PHPBB3-16820
This commit is contained in:
Marc Alexander
2021-10-10 17:52:42 +02:00
parent ddf8e8c9d1
commit b99cfd5caa
11 changed files with 86 additions and 37 deletions

View File

@@ -158,10 +158,15 @@ define('CONFIRM_POST', 3);
define('CONFIRM_REPORT', 4);
// Categories - Attachments
/* @deprecated Replaced by \phpbb\attachment\attachment_category constants in 4.0.0-a1, to be removed in 4.1.0-a1 */
define('ATTACHMENT_CATEGORY_NONE', 0);
/* @deprecated Replaced by \phpbb\attachment\attachment_category constants in 4.0.0-a1, to be removed in 4.1.0-a1 */
define('ATTACHMENT_CATEGORY_IMAGE', 1); // Inline Images
/* @deprecated Replaced by \phpbb\attachment\attachment_category constants in 4.0.0-a1, to be removed in 4.1.0-a1 */
define('ATTACHMENT_CATEGORY_THUMB', 4); // Not used within the database, only while displaying posts
/* @deprecated Replaced by \phpbb\attachment\attachment_category constants in 4.0.0-a1, to be removed in 4.1.0-a1 */
define('ATTACHMENT_CATEGORY_AUDIO', 7); // Browser-playable audio files
/* @deprecated Replaced by \phpbb\attachment\attachment_category constants in 4.0.0-a1, to be removed in 4.1.0-a1 */
define('ATTACHMENT_CATEGORY_VIDEO', 8); // Browser-playable video files
// BBCode UID length