From: Marek Bachmann Date: Wed, 30 Nov 2022 00:15:42 +0000 (+0100) Subject: wanted to use a constant for the shorthand regex to be used in the form input templat... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=10e067298172b4af8dc469a2e5c04c4984dc2af8;p=friendica.git 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 --- 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();