]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/networkpublic.php
Extend Networkpublic and Public actions from SitestreamAction
[quix0rs-gnu-social.git] / actions / networkpublic.php
index 7baa313bee3313a0e68274090e3d53ed2c641671..6f1124a9d8fc05a73dabd1ed410a8ea0bdb0b70d 100644 (file)
@@ -2,7 +2,7 @@
 
 if (!defined('GNUSOCIAL')) { exit(1); }
 
-class NetworkpublicAction extends PublicAction
+class NetworkpublicAction extends SitestreamAction
 {
     protected function streamPrepare()
     {
@@ -30,9 +30,7 @@ class NetworkpublicAction extends PublicAction
 
     function extraHead()
     {
-        // the PublicAction has some XRDS stuff that might be unique to the non-network public feed
-        // FIXME: Solve this with a call that doesn't rely on parent:: and is unique for each class.
-        ManagedAction::extraHead();
+        parent::extraHead();
     }
 
     function showSections()