From c03784eaa90da6081e01cb7688964facdb2283a3 Mon Sep 17 00:00:00 2001 From: Marek Bachmann Date: Wed, 30 Nov 2022 01:15:42 +0100 Subject: [PATCH] wanted to use a constant for the shorthand regex to be used in the form input templates and to check maximagesize post value. But Input field seems to require the regex without enclosing "/.../", so remove const for now --- src/Module/Admin/Site.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Module/Admin/Site.php b/src/Module/Admin/Site.php index 8aa43c5564..9e6967d827 100644 --- a/src/Module/Admin/Site.php +++ b/src/Module/Admin/Site.php @@ -42,8 +42,6 @@ use Friendica\Util\Strings; class Site extends BaseAdmin { -// const SHORTHAND_REGEX = '/*/i'; - protected function post(array $request = []) { self::checkAdminAccess();