]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/LinkPreview/actions/oembedproxy.php
StatusNet class renamed GNUsocial
[quix0rs-gnu-social.git] / plugins / LinkPreview / actions / oembedproxy.php
index 7e54aca57067de6bce92a0e4d76f7f85c22181a5..97b0942441e94a8a93bcb9663ae13c26294fed51 100644 (file)
@@ -49,7 +49,7 @@ class OembedproxyAction extends OembedAction
     function handle($args)
     {
         // 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');