]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Attach.php
Fix potential bugs without expected behavior change
[friendica.git] / src / Model / Attach.php
index c74209d6a176bb7cb0c0e5e950bf0671654b27ca..9be77eca91bb161d01d026b9fa5999e44ba5f57e 100644 (file)
@@ -232,7 +232,7 @@ class Attach extends BaseObject
         * @return boolean True on success
         * @throws \Friendica\Network\HTTPException\InternalServerErrorException
         */
-       public function storeFile($src, $uid, $filename = '', $allow_cid = '', $allow_gid = '', $deny_cid = '', $deny_gid = '')
+       public static function storeFile($src, $uid, $filename = '', $allow_cid = '', $allow_gid = '', $deny_cid = '', $deny_gid = '')
        {
                if ($filename === '') {
                        $filename = basename($src);