Browse Source

Fix method scope in Model\Attach

pull/6485/head
Hypolite Petovan 2 years ago
parent
commit
d5ce74672e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Model/Attach.php

+ 1
- 1
src/Model/Attach.php View File

@ -176,7 +176,7 @@ class Attach extends BaseObject
* @return boolean/integer Row id on success, False on errors
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
*/
public function store($data, $uid, $filename, $filetype = '' , $filesize = null, $allow_cid = '', $allow_gid = '', $deny_cid = '', $deny_gid = '')
public static function store($data, $uid, $filename, $filetype = '' , $filesize = null, $allow_cid = '', $allow_gid = '', $deny_cid = '', $deny_gid = '')
{
if ($filetype === '') {
$filetype = Mimetype::getContentType($filename);


Loading…
Cancel
Save