]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Attach.php
Fix method scope in Model\Attach
[friendica.git] / src / Model / Attach.php
index bd4269b9e39e23e9188ba97ef41f4b4ad975dca6..3bd77ef9c98bd3715ffbfb978d940a7dc026492b 100644 (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);