]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/mailhandler.php
PATHINFO example added to htaccess.sample
[quix0rs-gnu-social.git] / lib / mailhandler.php
index 188e8487039da5cb4a8a9ba2679cbf52c5d32017..a71633519391120d445df9807ae9420763012179 100644 (file)
@@ -73,7 +73,7 @@ class MailHandler
             $mf = null;
 
             try {
-                $mf = MediaFile::fromFileHandle($attachment, $user);
+                $mf = MediaFile::fromFilehandle($attachment, $user->getProfile());
             } catch(ClientException $ce) {
                 $this->error($from, $ce->getMessage());
             }