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:
parent
d44968cd10
commit
c03784eaa9
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user