Fix: Remove unused invalid global $lang (#28327)

# Fix: Remove unused invalid global

$lang was invalid but not used in function -> removed.
This commit is contained in:
MDW 2024-02-21 16:52:54 +01:00 committed by GitHub
parent de789e03df
commit 7eb3f03eb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -169,7 +169,6 @@ function getFileData($jk, $fpos, $type, $mbox)
**/
function saveAttachment($path, $filename, $data)
{
global $lang;
$tmp = explode('.', $filename);
$ext = array_pop($tmp);
$filename = implode('.', $tmp);