]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Feed.php
Merge pull request #9509 from MrPetovan/task/5616-clear-notifications-display
[friendica.git] / src / Module / Feed.php
index ff0abdb2ab31d997a2dde3b725629a9fddf5814a..0ccffbb96b38bbb7e7ada2f11ea321946fb0f1e9 100644 (file)
@@ -23,7 +23,7 @@ namespace Friendica\Module;
 
 use Friendica\BaseModule;
 use Friendica\DI;
-use Friendica\Protocol\OStatus;
+use Friendica\Protocol\Feed as ProtocolFeed;
 
 /**
  * Provides public Atom feeds
@@ -75,7 +75,7 @@ class Feed extends BaseModule
                // @TODO: Replace with parameter from router
                $nickname = $a->argv[1];
                header("Content-type: application/atom+xml; charset=utf-8");
-               echo OStatus::feed($nickname, $last_update, 10, $type, $nocache, true);
+               echo ProtocolFeed::atom($nickname, $last_update, 10, $type, $nocache, true);
                exit();
        }
 }