]> git.mxchange.org Git - friendica.git/blob - src/Module/Profile/Index.php
Remove deprecated code
[friendica.git] / src / Module / Profile / Index.php
1 <?php
2
3 namespace Friendica\Module\Profile;
4
5 use Friendica\BaseModule;
6
7 /**
8  * Profile index router
9  *
10  * The default profile path (https://domain.tld/profile/nickname) has to serve the profile data when queried as an
11  * ActivityPub endpoint, but it should show statuses to web users.
12  *
13  * Both these view have dedicated sub-paths,
14  * respectively https://domain.tld/profile/nickname/profile and https://domain.tld/profile/nickname/status
15  */
16 class Index extends BaseModule
17 {
18         public static function rawContent(array $parameters = [])
19         {
20                 Profile::rawContent($parameters);
21         }
22
23         public static function content(array $parameters = [])
24         {
25                 return Status::content($parameters);
26         }
27 }