From d5ce74672e0886ccceeff25ed6d1a3ad31a50a83 Mon Sep 17 00:00:00 2001
From: Hypolite Petovan <hypolite@mrpetovan.com>
Date: Mon, 21 Jan 2019 16:05:25 -0500
Subject: [PATCH] Fix method scope in Model\Attach

---
 src/Model/Attach.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Model/Attach.php b/src/Model/Attach.php
index bd4269b9e3..3bd77ef9c9 100644
--- a/src/Model/Attach.php
+++ b/src/Model/Attach.php
@@ -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);
-- 
2.39.5