Fix "Warning: Call to deprecated function rcmail_filetype2classname()"
This commit is contained in:
parent
591dfa64ea
commit
0029200a78
1 changed files with 1 additions and 1 deletions
|
@ -1280,7 +1280,7 @@ class kolab_files_engine
|
||||||
'html' => $content,
|
'html' => $content,
|
||||||
'name' => $attachment['name'],
|
'name' => $attachment['name'],
|
||||||
'mimetype' => $attachment['mimetype'],
|
'mimetype' => $attachment['mimetype'],
|
||||||
'classname' => rcmail_filetype2classname($attachment['mimetype'], $attachment['name']),
|
'classname' => rcube_utils::file2class($attachment['mimetype'], $attachment['name']),
|
||||||
'complete' => true), $uploadid);
|
'complete' => true), $uploadid);
|
||||||
}
|
}
|
||||||
else if ($attachment['error']) {
|
else if ($attachment['error']) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue