{"action":"created","comment":{"url":"https://api.github.com/repos/friendica/friendica/pulls/comments/108058441","pull_request_review_id":29068085,"id":108058441,"diff_hunk":"@@ -1,29 +1,25 @@\n <?php\n \n+use \\Friendica\\Core\\Config;\n+\n function community_init(App $a) {\n \tif (! local_user()) {\n \t\tunset($_SESSION['theme']);\n \t\tunset($_SESSION['mobile-theme']);\n \t}\n-\n-\n }\n \n \n function community_content(App $a, $update = 0) {\n \n \t$o = '';\n \n-\t// Currently the community page isn't able to handle update requests\n-\tif ($update)\n-\t\treturn;\n-\n-\tif((get_config('system','block_public')) && (! local_user()) && (! remote_user())) {\n+\tif ((Config::get('system','block_public')) && (! local_user()) && (! remote_user())) {","path":"mod/community.php","position":24,"original_position":24,"commit_id":"4168d47ecd9235e3d14c45766244cf45f80b3e15","original_commit_id":"4168d47ecd9235e3d14c45766244cf45f80b3e15","user":{"login":"Hypolite","id":925415,"avatar_url":"https://avatars2.githubusercontent.com/u/925415?v=3","gravatar_id":"","url":"https://api.github.com/users/Hypolite","html_url":"https://github.com/Hypolite","followers_url":"https://api.github.com/users/Hypolite/followers","following_url":"https://api.github.com/users/Hypolite/following{/other_user}","gists_url":"https://api.github.com/users/Hypolite/gists{/gist_id}","starred_url":"https://api.github.com/users/Hypolite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hypolite/subscriptions","organizations_url":"https://api.github.com/users/Hypolite/orgs","repos_url":"https://api.github.com/users/Hypolite/repos","events_url":"https://api.github.com/users/Hypolite/events{/privacy}","received_events_url":"https://api.github.com/users/Hypolite/received_events","type":"User","site_admin":false},"body":"Standards: Can you please add a space after commas in the whole file?","created_at":"2017-03-26T11:43:13Z","updated_at":"2017-03-26T11:45:14Z","html_url":"https://github.com/friendica/friendica/pull/3267#discussion_r108058441","pull_request_url":"https://api.github.com/repos/friendica/friendica/pulls/3267","_links":{"self":{"href":"https://api.github.com/repos/friendica/friendica/pulls/comments/108058441"},"html":{"href":"https://github.com/friendica/friendica/pull/3267#discussion_r108058441"},"pull_request":{"href":"https://api.github.com/repos/friendica/friendica/pulls/3267"}}},"pull_request":{"url":"https://api.github.com/repos/friendica/friendica/pulls/3267","id":112615276,"html_url":"https://github.com/friendica/friendica/pull/3267","diff_url":"https://github.com/friendica/friendica/pull/3267.diff","patch_url":"https://github.com/friendica/friendica/pull/3267.patch","issue_url":"https://api.github.com/repos/friendica/friendica/issues/3267","number":3267,"state":"closed","locked":false,"title":"Issue 3248: Make communityhome work again.","user":{"login":"annando","id":844208,"avatar_url":"https://avatars2.githubusercontent.com/u/844208?v=3","gravatar_id":"","url":"https://api.github.com/users/annando","html_url":"https://github.com/annando","followers_url":"https://api.github.com/users/annando/followers","following_url":"https://api.github.com/users/annando/following{/other_user}","gists_url":"https://api.github.com/users/annando/gists{/gist_id}","starred_url":"https://api.github.com/users/annando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annando/subscriptions","organizations_url":"https://api.github.com/users/annando/orgs","repos_url":"https://api.github.com/users/annando/repos","events_url":"https://api.github.com/users/annando/events{/privacy}","received_events_url":"https://api.github.com/users/annando/received_events","type":"User","site_admin":false},"body":"See issue https://github.com/friendica/friendica/issues/3248","created_at":"2017-03-26T05:31:37Z","updated_at":"2017-03-26T11:45:14Z","closed_at":"2017-03-26T06:03:47Z","merged_at":"2017-03-26T06:03:47Z","merge_commit_sha":"632be78b55b4d9129983bdb3b9cebc93bfc7dc61","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/friendica/friendica/pulls/3267/commits","review_comments_url":"https://api.github.com/repos/friendica/friendica/pulls/3267/comments","review_comment_url":"https://api.github.com/repos/friendica/friendica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/friendica/friendica/issues/3267/comments","statuses_url":"https://api.github.com/repos/friendica/friendica/statuses/4168d47ecd9235e3d14c45766244cf45f80b3e15","head":{"label":"annando:issue-3248","ref":"issue-3248","sha":"4168d47ecd9235e3d14c45766244cf45f80b3e15","user":{"login":"annando","id":844208,"avatar_url":"https://avatars2.githubusercontent.com/u/844208?v=3","gravatar_id":"","url":"https://api.github.com/users/annando","html_url":"https://github.com/annando","followers_url":"https://api.github.com/users/annando/followers","following_url":"https://api.github.com/users/annando/following{/other_user}","gists_url":"https://api.github.com/users/annando/gists{/gist_id}","starred_url":"https://api.github.com/users/annando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annando/subscriptions","organizations_url":"https://api.github.com/users/annando/orgs","repos_url":"https://api.github.com/users/annando/repos","events_url":"https://api.github.com/users/annando/events{/privacy}","received_events_url":"https://api.github.com/users/annando/received_events","type":"User","site_admin":false},"repo":{"id":3302872,"name":"friendica","full_name":"annando/friendica","owner":{"login":"annando","id":844208,"avatar_url":"https://avatars2.githubusercontent.com/u/844208?v=3","gravatar_id":"","url":"https://api.github.com/users/annando","html_url":"https://github.com/annando","followers_url":"https://api.github.com/users/annando/followers","following_url":"https://api.github.com/users/annando/following{/other_user}","gists_url":"https://api.github.com/users/annando/gists{/gist_id}","starred_url":"https://api.github.com/users/annando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annando/subscriptions","organizations_url":"https://api.github.com/users/annando/orgs","repos_url":"https://api.github.com/users/annando/repos","events_url":"https://api.github.com/users/annando/events{/privacy}","received_events_url":"https://api.github.com/users/annando/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/annando/friendica","description":"Friendica Communications Platform - MIT license","fork":true,"url":"https://api.github.com/repos/annando/friendica","forks_url":"https://api.github.com/repos/annando/friendica/forks","keys_url":"https://api.github.com/repos/annando/friendica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/annando/friendica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/annando/friendica/teams","hooks_url":"https://api.github.com/repos/annando/friendica/hooks","issue_events_url":"https://api.github.com/repos/annando/friendica/issues/events{/number}","events_url":"https://api.github.com/repos/annando/friendica/events","assignees_url":"https://api.github.com/repos/annando/friendica/assignees{/user}","branches_url":"https://api.github.com/repos/annando/friendica/branches{/branch}","tags_url":"https://api.github.com/repos/annando/friendica/tags","blobs_url":"https://api.github.com/repos/annando/friendica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/annando/friendica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/annando/friendica/git/refs{/sha}","trees_url":"https://api.github.com/repos/annando/friendica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/annando/friendica/statuses/{sha}","languages_url":"https://api.github.com/repos/annando/friendica/languages","stargazers_url":"https://api.github.com/repos/annando/friendica/stargazers","contributors_url":"https://api.github.com/repos/annando/friendica/contributors","subscribers_url":"https://api.github.com/repos/annando/friendica/subscribers","subscription_url":"https://api.github.com/repos/annando/friendica/subscription","commits_url":"https://api.github.com/repos/annando/friendica/commits{/sha}","git_commits_url":"https://api.github.com/repos/annando/friendica/git/commits{/sha}","comments_url":"https://api.github.com/repos/annando/friendica/comments{/number}","issue_comment_url":"https://api.github.com/repos/annando/friendica/issues/comments{/number}","contents_url":"https://api.github.com/repos/annando/friendica/contents/{+path}","compare_url":"https://api.github.com/repos/annando/friendica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/annando/friendica/merges","archive_url":"https://api.github.com/repos/annando/friendica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/annando/friendica/downloads","issues_url":"https://api.github.com/repos/annando/friendica/issues{/number}","pulls_url":"https://api.github.com/repos/annando/friendica/pulls{/number}","milestones_url":"https://api.github.com/repos/annando/friendica/milestones{/number}","notifications_url":"https://api.github.com/repos/annando/friendica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/annando/friendica/labels{/name}","releases_url":"https://api.github.com/repos/annando/friendica/releases{/id}","deployments_url":"https://api.github.com/repos/annando/friendica/deployments","created_at":"2012-01-30T06:45:26Z","updated_at":"2016-12-14T09:39:33Z","pushed_at":"2017-03-26T06:06:10Z","git_url":"git://github.com/annando/friendica.git","ssh_url":"git@github.com:annando/friendica.git","clone_url":"https://github.com/annando/friendica.git","svn_url":"https://github.com/annando/friendica","homepage":"http://friendica.com","size":72929,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":2,"default_branch":"develop"}},"base":{"label":"friendica:develop","ref":"develop","sha":"632d77cfb1ffce8aaddc0134ee232df29f267162","user":{"login":"friendica","id":1176581,"avatar_url":"https://avatars2.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://avatars2.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":"2017-03-21T22:58:16Z","pushed_at":"2017-03-26T06:03:47Z","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":72903,"stargazers_count":449,"watchers_count":449,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":165,"mirror_url":null,"open_issues_count":267,"forks":165,"open_issues":267,"watchers":449,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/friendica/friendica/pulls/3267"},"html":{"href":"https://github.com/friendica/friendica/pull/3267"},"issue":{"href":"https://api.github.com/repos/friendica/friendica/issues/3267"},"comments":{"href":"https://api.github.com/repos/friendica/friendica/issues/3267/comments"},"review_comments":{"href":"https://api.github.com/repos/friendica/friendica/pulls/3267/comments"},"review_comment":{"href":"https://api.github.com/repos/friendica/friendica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/friendica/friendica/pulls/3267/commits"},"statuses":{"href":"https://api.github.com/repos/friendica/friendica/statuses/4168d47ecd9235e3d14c45766244cf45f80b3e15"}}}}
{"actor":{"display_login":"Hypolite"}}