]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/File_to_post.php
Return dynamically generated URLs for thumbnails for all locally stored entries
[quix0rs-gnu-social.git] / classes / File_to_post.php
index e06e34aa46fae2df132cb15454116a3b50377f0c..bf201756f493b8630a4a7f702bad96451f4339fe 100644 (file)
@@ -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();