mirror of
https://github.com/friendica/friendica
synced 2024-11-19 00:23:47 +00:00
Fix method scope in Model\Attach
This commit is contained in:
parent
0c19c4c75d
commit
d5ce74672e
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class Attach extends BaseObject
|
||||||
* @return boolean/integer Row id on success, False on errors
|
* @return boolean/integer Row id on success, False on errors
|
||||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
* @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 === '') {
|
if ($filetype === '') {
|
||||||
$filetype = Mimetype::getContentType($filename);
|
$filetype = Mimetype::getContentType($filename);
|
||||||
|
|
Loading…
Reference in a new issue