forked from GNUsocial/gnu-social
[MEDIA][OEMBED] Fixed regression in OEmbed, because it relied on accessing the files directly, which previous commits broke. The File table really should have a bool...
This commit is contained in:
committed by
Diogo Cordeiro
parent
4187568522
commit
8f31a1a820
@@ -411,7 +411,7 @@ class OembedPlugin extends Plugin
|
||||
* states where it isn't oEmbed data, so it doesn't mess up the event handle
|
||||
* for other things hooked into it), or the exception if it fails.
|
||||
*/
|
||||
public function onCreateFileImageThumbnailSource(File $file, &$imgPath)
|
||||
public function onCreateFileImageThumbnailSource(File $file, &$imgPath, $media)
|
||||
{
|
||||
// If we are on a private node, we won't do any remote calls (just as a precaution until
|
||||
// we can configure this from config.php for the private nodes)
|
||||
|
Reference in New Issue
Block a user