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

This commit is contained in:
Marek Bachmann 2022-11-30 01:15:42 +01:00
parent 25ba8bfb53
commit 10e0672981

View file

@ -42,8 +42,6 @@ use Friendica\Util\Strings;
class Site extends BaseAdmin class Site extends BaseAdmin
{ {
// const SHORTHAND_REGEX = '/*/i';
protected function post(array $request = []) protected function post(array $request = [])
{ {
self::checkAdminAccess(); self::checkAdminAccess();