]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
ImageFile unlink function referenced bad path
authorMikael Nordfeldth <mmn@hethane.se>
Wed, 16 Apr 2014 18:08:21 +0000 (20:08 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 16 Apr 2014 18:08:21 +0000 (20:08 +0200)
lib/imagefile.php

index ae14654bfbdce81a91ed1c56cc248e047362bdb3..50be74b3478357591778b48fcd3411085297c86f 100644 (file)
@@ -290,7 +290,7 @@ class ImageFile
 
     function unlink()
     {
-        @unlink($this->filename);
+        @unlink($this->filepath);
     }
 
     static function maxFileSize()