mirror of
https://github.com/friendica/friendica
synced 2025-05-14 07:04:11 +02:00
Delete unused media attachments
This commit is contained in:
parent
af28b82858
commit
425f23bbdc
17 changed files with 459 additions and 372 deletions
|
@ -71,7 +71,7 @@ class Upload extends \Friendica\BaseModule
|
|||
$tempFileName = $_FILES['userfile']['tmp_name'];
|
||||
$fileName = basename($_FILES['userfile']['name']);
|
||||
$fileSize = intval($_FILES['userfile']['size']);
|
||||
$maxFileSize = $this->config->get('system', 'maxfilesize');
|
||||
$maxFileSize = Strings::getBytesFromShorthand($this->config->get('system', 'maxfilesize'));
|
||||
|
||||
/*
|
||||
* Found html code written in text field of form, when trying to upload a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue