X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FFile_to_post.php;h=bf201756f493b8630a4a7f702bad96451f4339fe;hb=42c653a9d0a57d8b575614827a569badd054e5a7;hp=e06e34aa46fae2df132cb15454116a3b50377f0c;hpb=29e1203609204cbcf0a6fd7b83147e2a178f5f99;p=quix0rs-gnu-social.git diff --git a/classes/File_to_post.php b/classes/File_to_post.php index e06e34aa46..bf201756f4 100644 --- a/classes/File_to_post.php +++ b/classes/File_to_post.php @@ -56,7 +56,7 @@ class File_to_post extends Managed_DataObject ); } - function processNew(File $file, Notice $notice) { + static function processNew(File $file, Notice $notice) { static $seen = array(); $file_id = $file->getID();