]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/atompubshowsubscription.php
Email notify-on-fave moved to Profile_prefs (run upgrade.php)
[quix0rs-gnu-social.git] / actions / atompubshowsubscription.php
index 4dbb2af2e0d553fcd55e5799fb35ccd375f0d08a..04681f3445133a5a8a5f11470a95a5fbabb77c9d 100644 (file)
@@ -34,8 +34,6 @@ if (!defined('STATUSNET')) {
     exit(1);
 }
 
-require_once INSTALLDIR . '/lib/apiauth.php';
-
 /**
  * Show a single subscription
  *
@@ -120,7 +118,6 @@ class AtompubshowsubscriptionAction extends ApiAuthAction
         default:
             // TRANS: Client error shown when using a non-supported HTTP method.
             $this->clientError(_('HTTP method not supported.'), 405);
-            return;
         }
 
         return;