X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FLinkPreview%2Factions%2Foembedproxy.php;h=c0473fb597633a75929b96edc397e7153ed2039f;hb=d6b28c64830f632bb2f4b6f3c9369b9e56ad217a;hp=095cfe03d7cbe765b891f97433e9576756f022c7;hpb=f2bfcdc2c1d7bc4634bb06285380884a57075759;p=quix0rs-gnu-social.git diff --git a/plugins/LinkPreview/actions/oembedproxy.php b/plugins/LinkPreview/actions/oembedproxy.php index 095cfe03d7..c0473fb597 100644 --- a/plugins/LinkPreview/actions/oembedproxy.php +++ b/plugins/LinkPreview/actions/oembedproxy.php @@ -49,7 +49,7 @@ class OembedproxyAction extends OembedAction function handle(array $args=array()) { // Trigger short error responses; not a human-readable web page. - StatusNet::setApi(true); + GNUsocial::setApi(true); // We're not a general oEmbed proxy service; limit to valid sessions. $token = $this->trimmed('token');