]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/WebFinger/lib/xrdaction.php
XrdAction extends ManagedAction
[quix0rs-gnu-social.git] / plugins / WebFinger / lib / xrdaction.php
index a57ccdb382a14ae55dde8c1e88fd28af63b1fa9d..6d22631dc1aa4523cd93795852d48dcfdc2cf41d 100644 (file)
@@ -25,7 +25,7 @@
 
 if (!defined('GNUSOCIAL')) { exit(1); }
 
-abstract class XrdAction extends Action
+abstract class XrdAction extends ManagedAction
 {
     // json or xml for now, this may still be overriden because of
     // our back-compatibility with StatusNet <=1.1.1
@@ -59,15 +59,13 @@ abstract class XrdAction extends Action
 
     protected function handle()
     {
-        parent::handle();
-
         $this->setXRD();
 
         if (common_config('discovery', 'cors')) {
             header('Access-Control-Allow-Origin: *');
         }
 
-        $this->showPage();
+        parent::handle();
     }
 
     public function mimeType()