]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Oembed/classes/File_oembed.php
File-related functions not declared static
[quix0rs-gnu-social.git] / plugins / Oembed / classes / File_oembed.php
index 3fc655e1705dbd0dca2c9cf4d2a6851e257a18ff..0e84c6dca8376401f26dab4b476fce245a5f3a2c 100644 (file)
@@ -67,7 +67,7 @@ class File_oembed extends Managed_DataObject
         );
     }
 
-    function _getOembed($url) {
+    static function _getOembed($url) {
         $parameters = array(
             'maxwidth' => common_config('thumbnail', 'width'),
             'maxheight' => common_config('thumbnail', 'height'),