{"action":"created","comment":{"url":"https://api.github.com/repos/friendica/friendica/pulls/comments/51838574","id":51838574,"diff_hunk":"@@ -0,0 +1,190 @@\n+<?php\n+\n+/**\n+ * @file include/forum.php\n+ * @brief Functions related to forum functionality *\n+ */\n+\n+/**\n+ * @brief This class handles functions related to the forum functionality\n+ */\n+class forum {","path":"include/forum.php","position":11,"original_position":11,"commit_id":"c1070e4655996e047951dada992b65abebf74834","original_commit_id":"c1070e4655996e047951dada992b65abebf74834","user":{"login":"fabrixxm","id":309361,"avatar_url":"https://avatars.githubusercontent.com/u/309361?v=3","gravatar_id":"","url":"https://api.github.com/users/fabrixxm","html_url":"https://github.com/fabrixxm","followers_url":"https://api.github.com/users/fabrixxm/followers","following_url":"https://api.github.com/users/fabrixxm/following{/other_user}","gists_url":"https://api.github.com/users/fabrixxm/gists{/gist_id}","starred_url":"https://api.github.com/users/fabrixxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabrixxm/subscriptions","organizations_url":"https://api.github.com/users/fabrixxm/orgs","repos_url":"https://api.github.com/users/fabrixxm/repos","events_url":"https://api.github.com/users/fabrixxm/events{/privacy}","received_events_url":"https://api.github.com/users/fabrixxm/received_events","type":"User","site_admin":false},"body":"`Forums` would be enough. or `ForumManager`. That would leave `Forum ` class name for a future class that represent a single forum...\r\nAnd file name should be same as class name (case included)","created_at":"2016-02-04T07:45:05Z","updated_at":"2016-02-04T07:45:05Z","html_url":"https://github.com/friendica/friendica/pull/2313#discussion_r51838574","pull_request_url":"https://api.github.com/repos/friendica/friendica/pulls/2313","_links":{"self":{"href":"https://api.github.com/repos/friendica/friendica/pulls/comments/51838574"},"html":{"href":"https://github.com/friendica/friendica/pull/2313#discussion_r51838574"},"pull_request":{"href":"https://api.github.com/repos/friendica/friendica/pulls/2313"}}},"pull_request":{"url":"https://api.github.com/repos/friendica/friendica/pulls/2313","id":58168378,"html_url":"https://github.com/friendica/friendica/pull/2313","diff_url":"https://github.com/friendica/friendica/pull/2313.diff","patch_url":"https://github.com/friendica/friendica/pull/2313.patch","issue_url":"https://api.github.com/repos/friendica/friendica/issues/2313","number":2313,"state":"open","locked":false,"title":"forums.php is now forum.php and providing class forum","user":{"login":"rabuzarus","id":3750381,"avatar_url":"https://avatars.githubusercontent.com/u/3750381?v=3","gravatar_id":"","url":"https://api.github.com/users/rabuzarus","html_url":"https://github.com/rabuzarus","followers_url":"https://api.github.com/users/rabuzarus/followers","following_url":"https://api.github.com/users/rabuzarus/following{/other_user}","gists_url":"https://api.github.com/users/rabuzarus/gists{/gist_id}","starred_url":"https://api.github.com/users/rabuzarus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabuzarus/subscriptions","organizations_url":"https://api.github.com/users/rabuzarus/orgs","repos_url":"https://api.github.com/users/rabuzarus/repos","events_url":"https://api.github.com/users/rabuzarus/events{/privacy}","received_events_url":"https://api.github.com/users/rabuzarus/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-03T17:07:04Z","updated_at":"2016-02-04T07:45:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ade0f1eaff6d92c49b9a9b91fa3f74609a8c8c6c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/friendica/friendica/pulls/2313/commits","review_comments_url":"https://api.github.com/repos/friendica/friendica/pulls/2313/comments","review_comment_url":"https://api.github.com/repos/friendica/friendica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/friendica/friendica/issues/2313/comments","statuses_url":"https://api.github.com/repos/friendica/friendica/statuses/c1070e4655996e047951dada992b65abebf74834","head":{"label":"rabuzarus:0302_forum_class","ref":"0302_forum_class","sha":"c1070e4655996e047951dada992b65abebf74834","user":{"login":"rabuzarus","id":3750381,"avatar_url":"https://avatars.githubusercontent.com/u/3750381?v=3","gravatar_id":"","url":"https://api.github.com/users/rabuzarus","html_url":"https://github.com/rabuzarus","followers_url":"https://api.github.com/users/rabuzarus/followers","following_url":"https://api.github.com/users/rabuzarus/following{/other_user}","gists_url":"https://api.github.com/users/rabuzarus/gists{/gist_id}","starred_url":"https://api.github.com/users/rabuzarus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabuzarus/subscriptions","organizations_url":"https://api.github.com/users/rabuzarus/orgs","repos_url":"https://api.github.com/users/rabuzarus/repos","events_url":"https://api.github.com/users/rabuzarus/events{/privacy}","received_events_url":"https://api.github.com/users/rabuzarus/received_events","type":"User","site_admin":false},"repo":{"id":28480948,"name":"friendica","full_name":"rabuzarus/friendica","owner":{"login":"rabuzarus","id":3750381,"avatar_url":"https://avatars.githubusercontent.com/u/3750381?v=3","gravatar_id":"","url":"https://api.github.com/users/rabuzarus","html_url":"https://github.com/rabuzarus","followers_url":"https://api.github.com/users/rabuzarus/followers","following_url":"https://api.github.com/users/rabuzarus/following{/other_user}","gists_url":"https://api.github.com/users/rabuzarus/gists{/gist_id}","starred_url":"https://api.github.com/users/rabuzarus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabuzarus/subscriptions","organizations_url":"https://api.github.com/users/rabuzarus/orgs","repos_url":"https://api.github.com/users/rabuzarus/repos","events_url":"https://api.github.com/users/rabuzarus/events{/privacy}","received_events_url":"https://api.github.com/users/rabuzarus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rabuzarus/friendica","description":"Friendica Communications Platform","fork":true,"url":"https://api.github.com/repos/rabuzarus/friendica","forks_url":"https://api.github.com/repos/rabuzarus/friendica/forks","keys_url":"https://api.github.com/repos/rabuzarus/friendica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rabuzarus/friendica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rabuzarus/friendica/teams","hooks_url":"https://api.github.com/repos/rabuzarus/friendica/hooks","issue_events_url":"https://api.github.com/repos/rabuzarus/friendica/issues/events{/number}","events_url":"https://api.github.com/repos/rabuzarus/friendica/events","assignees_url":"https://api.github.com/repos/rabuzarus/friendica/assignees{/user}","branches_url":"https://api.github.com/repos/rabuzarus/friendica/branches{/branch}","tags_url":"https://api.github.com/repos/rabuzarus/friendica/tags","blobs_url":"https://api.github.com/repos/rabuzarus/friendica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rabuzarus/friendica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rabuzarus/friendica/git/refs{/sha}","trees_url":"https://api.github.com/repos/rabuzarus/friendica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rabuzarus/friendica/statuses/{sha}","languages_url":"https://api.github.com/repos/rabuzarus/friendica/languages","stargazers_url":"https://api.github.com/repos/rabuzarus/friendica/stargazers","contributors_url":"https://api.github.com/repos/rabuzarus/friendica/contributors","subscribers_url":"https://api.github.com/repos/rabuzarus/friendica/subscribers","subscription_url":"https://api.github.com/repos/rabuzarus/friendica/subscription","commits_url":"https://api.github.com/repos/rabuzarus/friendica/commits{/sha}","git_commits_url":"https://api.github.com/repos/rabuzarus/friendica/git/commits{/sha}","comments_url":"https://api.github.com/repos/rabuzarus/friendica/comments{/number}","issue_comment_url":"https://api.github.com/repos/rabuzarus/friendica/issues/comments{/number}","contents_url":"https://api.github.com/repos/rabuzarus/friendica/contents/{+path}","compare_url":"https://api.github.com/repos/rabuzarus/friendica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rabuzarus/friendica/merges","archive_url":"https://api.github.com/repos/rabuzarus/friendica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rabuzarus/friendica/downloads","issues_url":"https://api.github.com/repos/rabuzarus/friendica/issues{/number}","pulls_url":"https://api.github.com/repos/rabuzarus/friendica/pulls{/number}","milestones_url":"https://api.github.com/repos/rabuzarus/friendica/milestones{/number}","notifications_url":"https://api.github.com/repos/rabuzarus/friendica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rabuzarus/friendica/labels{/name}","releases_url":"https://api.github.com/repos/rabuzarus/friendica/releases{/id}","deployments_url":"https://api.github.com/repos/rabuzarus/friendica/deployments","created_at":"2014-12-25T12:21:05Z","updated_at":"2016-01-13T18:58:22Z","pushed_at":"2016-02-03T18:49:07Z","git_url":"git://github.com/rabuzarus/friendica.git","ssh_url":"git@github.com:rabuzarus/friendica.git","clone_url":"https://github.com/rabuzarus/friendica.git","svn_url":"https://github.com/rabuzarus/friendica","homepage":"","size":57110,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"friendica:develop","ref":"develop","sha":"f0912d6219fabc97e0b44c7b5f63c82ea0998aac","user":{"login":"friendica","id":1176581,"avatar_url":"https://avatars.githubusercontent.com/u/1176581?v=3","gravatar_id":"","url":"https://api.github.com/users/friendica","html_url":"https://github.com/friendica","followers_url":"https://api.github.com/users/friendica/followers","following_url":"https://api.github.com/users/friendica/following{/other_user}","gists_url":"https://api.github.com/users/friendica/gists{/gist_id}","starred_url":"https://api.github.com/users/friendica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friendica/subscriptions","organizations_url":"https://api.github.com/users/friendica/orgs","repos_url":"https://api.github.com/users/friendica/repos","events_url":"https://api.github.com/users/friendica/events{/privacy}","received_events_url":"https://api.github.com/users/friendica/received_events","type":"User","site_admin":false},"repo":{"id":2722709,"name":"friendica","full_name":"friendica/friendica","owner":{"login":"friendica","id":1176581,"avatar_url":"https://avatars.githubusercontent.com/u/1176581?v=3","gravatar_id":"","url":"https://api.github.com/users/friendica","html_url":"https://github.com/friendica","followers_url":"https://api.github.com/users/friendica/followers","following_url":"https://api.github.com/users/friendica/following{/other_user}","gists_url":"https://api.github.com/users/friendica/gists{/gist_id}","starred_url":"https://api.github.com/users/friendica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friendica/subscriptions","organizations_url":"https://api.github.com/users/friendica/orgs","repos_url":"https://api.github.com/users/friendica/repos","events_url":"https://api.github.com/users/friendica/events{/privacy}","received_events_url":"https://api.github.com/users/friendica/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/friendica/friendica","description":"Friendica Communications Platform","fork":true,"url":"https://api.github.com/repos/friendica/friendica","forks_url":"https://api.github.com/repos/friendica/friendica/forks","keys_url":"https://api.github.com/repos/friendica/friendica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/friendica/friendica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/friendica/friendica/teams","hooks_url":"https://api.github.com/repos/friendica/friendica/hooks","issue_events_url":"https://api.github.com/repos/friendica/friendica/issues/events{/number}","events_url":"https://api.github.com/repos/friendica/friendica/events","assignees_url":"https://api.github.com/repos/friendica/friendica/assignees{/user}","branches_url":"https://api.github.com/repos/friendica/friendica/branches{/branch}","tags_url":"https://api.github.com/repos/friendica/friendica/tags","blobs_url":"https://api.github.com/repos/friendica/friendica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/friendica/friendica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/friendica/friendica/git/refs{/sha}","trees_url":"https://api.github.com/repos/friendica/friendica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/friendica/friendica/statuses/{sha}","languages_url":"https://api.github.com/repos/friendica/friendica/languages","stargazers_url":"https://api.github.com/repos/friendica/friendica/stargazers","contributors_url":"https://api.github.com/repos/friendica/friendica/contributors","subscribers_url":"https://api.github.com/repos/friendica/friendica/subscribers","subscription_url":"https://api.github.com/repos/friendica/friendica/subscription","commits_url":"https://api.github.com/repos/friendica/friendica/commits{/sha}","git_commits_url":"https://api.github.com/repos/friendica/friendica/git/commits{/sha}","comments_url":"https://api.github.com/repos/friendica/friendica/comments{/number}","issue_comment_url":"https://api.github.com/repos/friendica/friendica/issues/comments{/number}","contents_url":"https://api.github.com/repos/friendica/friendica/contents/{+path}","compare_url":"https://api.github.com/repos/friendica/friendica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/friendica/friendica/merges","archive_url":"https://api.github.com/repos/friendica/friendica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/friendica/friendica/downloads","issues_url":"https://api.github.com/repos/friendica/friendica/issues{/number}","pulls_url":"https://api.github.com/repos/friendica/friendica/pulls{/number}","milestones_url":"https://api.github.com/repos/friendica/friendica/milestones{/number}","notifications_url":"https://api.github.com/repos/friendica/friendica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/friendica/friendica/labels{/name}","releases_url":"https://api.github.com/repos/friendica/friendica/releases{/id}","deployments_url":"https://api.github.com/repos/friendica/friendica/deployments","created_at":"2011-11-06T22:19:41Z","updated_at":"2016-02-03T02:23:58Z","pushed_at":"2016-02-04T06:47:45Z","git_url":"git://github.com/friendica/friendica.git","ssh_url":"git@github.com:friendica/friendica.git","clone_url":"https://github.com/friendica/friendica.git","svn_url":"https://github.com/friendica/friendica","homepage":"","size":61842,"stargazers_count":399,"watchers_count":399,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":149,"mirror_url":null,"open_issues_count":198,"forks":149,"open_issues":198,"watchers":399,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/friendica/friendica/pulls/2313"},"html":{"href":"https://github.com/friendica/friendica/pull/2313"},"issue":{"href":"https://api.github.com/repos/friendica/friendica/issues/2313"},"comments":{"href":"https://api.github.com/repos/friendica/friendica/issues/2313/comments"},"review_comments":{"href":"https://api.github.com/repos/friendica/friendica/pulls/2313/comments"},"review_comment":{"href":"https://api.github.com/repos/friendica/friendica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/friendica/friendica/pulls/2313/commits"},"statuses":{"href":"https://api.github.com/repos/friendica/friendica/statuses/c1070e4655996e047951dada992b65abebf74834"}}}}