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 d44968cd10
commit c03784eaa9

View file

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