]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/LinkPreview/actions/oembedproxy.php
Merge remote-tracking branch 'upstream/master' into social-master
[quix0rs-gnu-social.git] / plugins / LinkPreview / actions / oembedproxy.php
index 095cfe03d7cbe765b891f97433e9576756f022c7..c0473fb597633a75929b96edc397e7153ed2039f 100644 (file)
@@ -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');