From e489a048808abd285fdedc048971d6fc673f8985 Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Thu, 4 May 2023 09:32:52 +0200 Subject: [PATCH] remove unused constants --- activitypub.php | 3 +-- includes/class-admin.php | 4 ++-- includes/functions.php | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/activitypub.php b/activitypub.php index 38886ff..d61af85 100644 --- a/activitypub.php +++ b/activitypub.php @@ -23,9 +23,8 @@ function init() { \defined( 'ACTIVITYPUB_MAX_IMAGE_ATTACHMENTS' ) || \define( 'ACTIVITYPUB_MAX_IMAGE_ATTACHMENTS', 3 ); \defined( 'ACTIVITYPUB_HASHTAGS_REGEXP' ) || \define( 'ACTIVITYPUB_HASHTAGS_REGEXP', '(?:(?<=\s)|(?<=

)|(?<=
)|^)#([A-Za-z0-9_]+)(?:(?=\s|[[:punct:]]|$))' ); \defined( 'ACTIVITYPUB_USERNAME_REGEXP' ) || \define( 'ACTIVITYPUB_USERNAME_REGEXP', '(?:([A-Za-z0-9_-]+)@((?:[A-Za-z0-9_-]+\.)+[A-Za-z]+))' ); - \defined( 'ACTIVITYPUB_ALLOWED_HTML' ) || \define( 'ACTIVITYPUB_ALLOWED_HTML', '