create factory for dropzones

This commit is contained in:
Jakobus Schürz 2023-03-15 04:46:46 +01:00
parent 39f7660a1d
commit ada11a2c67
4 changed files with 5 additions and 43 deletions

View file

@ -242,7 +242,7 @@ class Compose extends BaseModule
]),
// Dropzone
'$max_imagesize' => floor(Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize')) / 1000000),
'$max_imagesize' => floor(\Friendica\Util\Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize')) / 1000000),
]);
}
}