]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/File.php
MediaFile thumbnail event hooks + VideoThumbnails plugin
[quix0rs-gnu-social.git] / classes / File.php
index 5f03e8bbd3e1771a7205f04ec8facb697785e13b..8d0623bf489023ca0a08ee28d5a424fa5a02ddb2 100644 (file)
@@ -433,6 +433,11 @@ class File extends Managed_DataObject
         return File_thumbnail::getKV('file_id', $this->id);
     }
 
+    public function getPath()
+    {
+        return self::path($this->filename);
+    }
+
     /**
      * Blow the cache of notices that link to this URL
      *