{"action":"created","comment":{"url":"https://api.github.com/repos/phpbb/phpbb-ideas/pulls/comments/43357536","id":43357536,"diff_hunk":"@@ -42,12 +45,18 @@ class ideas_module\n \t/** @var string */\n \tpublic $u_action;\n \n+\t/**\n+\t * Constructor\n+\t *\n+\t * @access public\n+\t */\n \tpublic function __construct()\n \t{\n-\t\tglobal $config, $db, $phpbb_log, $request, $template, $user, $phpbb_root_path, $phpEx;\n+\t\tglobal $config, $db, $phpbb_container, $phpbb_log, $request, $template, $user, $phpbb_root_path, $phpEx;\n \n \t\t$this->config = $config;\n \t\t$this->db = $db;\n+\t\t$this->language = $phpbb_container->get('language');;","path":"acp/ideas_module.php","position":null,"original_position":26,"commit_id":"d41d92abbfaaf24ce02014096aa41b5b54bc8fe9","original_commit_id":"da702f4c997801e7c86ded2fdde79d47d1d09da6","user":{"login":"Nicofuma","id":591456,"avatar_url":"https://avatars.githubusercontent.com/u/591456?v=3","gravatar_id":"","url":"https://api.github.com/users/Nicofuma","html_url":"https://github.com/Nicofuma","followers_url":"https://api.github.com/users/Nicofuma/followers","following_url":"https://api.github.com/users/Nicofuma/following{/other_user}","gists_url":"https://api.github.com/users/Nicofuma/gists{/gist_id}","starred_url":"https://api.github.com/users/Nicofuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nicofuma/subscriptions","organizations_url":"https://api.github.com/users/Nicofuma/orgs","repos_url":"https://api.github.com/users/Nicofuma/repos","events_url":"https://api.github.com/users/Nicofuma/events{/privacy}","received_events_url":"https://api.github.com/users/Nicofuma/received_events","type":"User","site_admin":false},"body":"Actually it doesn't use more memory because you get a reference to the same object","created_at":"2015-10-29T07:56:29Z","updated_at":"2015-10-29T07:56:29Z","html_url":"https://github.com/phpbb/phpbb-ideas/pull/22#discussion_r43357536","pull_request_url":"https://api.github.com/repos/phpbb/phpbb-ideas/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/phpbb/phpbb-ideas/pulls/comments/43357536"},"html":{"href":"https://github.com/phpbb/phpbb-ideas/pull/22#discussion_r43357536"},"pull_request":{"href":"https://api.github.com/repos/phpbb/phpbb-ideas/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/phpbb/phpbb-ideas/pulls/22","id":49098593,"html_url":"https://github.com/phpbb/phpbb-ideas/pull/22","diff_url":"https://github.com/phpbb/phpbb-ideas/pull/22.diff","patch_url":"https://github.com/phpbb/phpbb-ideas/pull/22.patch","issue_url":"https://api.github.com/repos/phpbb/phpbb-ideas/issues/22","number":22,"state":"open","locked":false,"title":"Update the ACP for 3.2","user":{"login":"VSEphpbb","id":303711,"avatar_url":"https://avatars.githubusercontent.com/u/303711?v=3","gravatar_id":"","url":"https://api.github.com/users/VSEphpbb","html_url":"https://github.com/VSEphpbb","followers_url":"https://api.github.com/users/VSEphpbb/followers","following_url":"https://api.github.com/users/VSEphpbb/following{/other_user}","gists_url":"https://api.github.com/users/VSEphpbb/gists{/gist_id}","starred_url":"https://api.github.com/users/VSEphpbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VSEphpbb/subscriptions","organizations_url":"https://api.github.com/users/VSEphpbb/orgs","repos_url":"https://api.github.com/users/VSEphpbb/repos","events_url":"https://api.github.com/users/VSEphpbb/events{/privacy}","received_events_url":"https://api.github.com/users/VSEphpbb/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-29T04:49:39Z","updated_at":"2015-10-29T07:56:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb3b4ee269e6cb310420c094722271c6db3fcccf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/phpbb/phpbb-ideas/pulls/22/commits","review_comments_url":"https://api.github.com/repos/phpbb/phpbb-ideas/pulls/22/comments","review_comment_url":"https://api.github.com/repos/phpbb/phpbb-ideas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phpbb/phpbb-ideas/issues/22/comments","statuses_url":"https://api.github.com/repos/phpbb/phpbb-ideas/statuses/d41d92abbfaaf24ce02014096aa41b5b54bc8fe9","head":{"label":"VSEphpbb:update-acp","ref":"update-acp","sha":"d41d92abbfaaf24ce02014096aa41b5b54bc8fe9","user":{"login":"VSEphpbb","id":303711,"avatar_url":"https://avatars.githubusercontent.com/u/303711?v=3","gravatar_id":"","url":"https://api.github.com/users/VSEphpbb","html_url":"https://github.com/VSEphpbb","followers_url":"https://api.github.com/users/VSEphpbb/followers","following_url":"https://api.github.com/users/VSEphpbb/following{/other_user}","gists_url":"https://api.github.com/users/VSEphpbb/gists{/gist_id}","starred_url":"https://api.github.com/users/VSEphpbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VSEphpbb/subscriptions","organizations_url":"https://api.github.com/users/VSEphpbb/orgs","repos_url":"https://api.github.com/users/VSEphpbb/repos","events_url":"https://api.github.com/users/VSEphpbb/events{/privacy}","received_events_url":"https://api.github.com/users/VSEphpbb/received_events","type":"User","site_admin":false},"repo":{"id":44332141,"name":"phpbb-ideas","full_name":"VSEphpbb/phpbb-ideas","owner":{"login":"VSEphpbb","id":303711,"avatar_url":"https://avatars.githubusercontent.com/u/303711?v=3","gravatar_id":"","url":"https://api.github.com/users/VSEphpbb","html_url":"https://github.com/VSEphpbb","followers_url":"https://api.github.com/users/VSEphpbb/followers","following_url":"https://api.github.com/users/VSEphpbb/following{/other_user}","gists_url":"https://api.github.com/users/VSEphpbb/gists{/gist_id}","starred_url":"https://api.github.com/users/VSEphpbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VSEphpbb/subscriptions","organizations_url":"https://api.github.com/users/VSEphpbb/orgs","repos_url":"https://api.github.com/users/VSEphpbb/repos","events_url":"https://api.github.com/users/VSEphpbb/events{/privacy}","received_events_url":"https://api.github.com/users/VSEphpbb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/VSEphpbb/phpbb-ideas","description":"An idea center for phpBB/phpBB.com (based on WordPress idea center).","fork":true,"url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas","forks_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/forks","keys_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/teams","hooks_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/hooks","issue_events_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/issues/events{/number}","events_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/events","assignees_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/assignees{/user}","branches_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/branches{/branch}","tags_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/tags","blobs_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/git/refs{/sha}","trees_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/statuses/{sha}","languages_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/languages","stargazers_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/stargazers","contributors_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/contributors","subscribers_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/subscribers","subscription_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/subscription","commits_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/commits{/sha}","git_commits_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/git/commits{/sha}","comments_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/comments{/number}","issue_comment_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/issues/comments{/number}","contents_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/contents/{+path}","compare_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/merges","archive_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/downloads","issues_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/issues{/number}","pulls_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/pulls{/number}","milestones_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/milestones{/number}","notifications_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/labels{/name}","releases_url":"https://api.github.com/repos/VSEphpbb/phpbb-ideas/releases{/id}","created_at":"2015-10-15T16:56:49Z","updated_at":"2015-10-15T16:56:50Z","pushed_at":"2015-10-29T04:56:07Z","git_url":"git://github.com/VSEphpbb/phpbb-ideas.git","ssh_url":"git@github.com:VSEphpbb/phpbb-ideas.git","clone_url":"https://github.com/VSEphpbb/phpbb-ideas.git","svn_url":"https://github.com/VSEphpbb/phpbb-ideas","homepage":null,"size":796,"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":"master"}},"base":{"label":"phpbb:master","ref":"master","sha":"75c635174c9c334c657968724ecace7f1ba31a44","user":{"login":"phpbb","id":176697,"avatar_url":"https://avatars.githubusercontent.com/u/176697?v=3","gravatar_id":"","url":"https://api.github.com/users/phpbb","html_url":"https://github.com/phpbb","followers_url":"https://api.github.com/users/phpbb/followers","following_url":"https://api.github.com/users/phpbb/following{/other_user}","gists_url":"https://api.github.com/users/phpbb/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbb/subscriptions","organizations_url":"https://api.github.com/users/phpbb/orgs","repos_url":"https://api.github.com/users/phpbb/repos","events_url":"https://api.github.com/users/phpbb/events{/privacy}","received_events_url":"https://api.github.com/users/phpbb/received_events","type":"Organization","site_admin":false},"repo":{"id":11393427,"name":"phpbb-ideas","full_name":"phpbb/phpbb-ideas","owner":{"login":"phpbb","id":176697,"avatar_url":"https://avatars.githubusercontent.com/u/176697?v=3","gravatar_id":"","url":"https://api.github.com/users/phpbb","html_url":"https://github.com/phpbb","followers_url":"https://api.github.com/users/phpbb/followers","following_url":"https://api.github.com/users/phpbb/following{/other_user}","gists_url":"https://api.github.com/users/phpbb/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbb/subscriptions","organizations_url":"https://api.github.com/users/phpbb/orgs","repos_url":"https://api.github.com/users/phpbb/repos","events_url":"https://api.github.com/users/phpbb/events{/privacy}","received_events_url":"https://api.github.com/users/phpbb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phpbb/phpbb-ideas","description":"An idea center for phpBB/phpBB.com (based on WordPress idea center).","fork":false,"url":"https://api.github.com/repos/phpbb/phpbb-ideas","forks_url":"https://api.github.com/repos/phpbb/phpbb-ideas/forks","keys_url":"https://api.github.com/repos/phpbb/phpbb-ideas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phpbb/phpbb-ideas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phpbb/phpbb-ideas/teams","hooks_url":"https://api.github.com/repos/phpbb/phpbb-ideas/hooks","issue_events_url":"https://api.github.com/repos/phpbb/phpbb-ideas/issues/events{/number}","events_url":"https://api.github.com/repos/phpbb/phpbb-ideas/events","assignees_url":"https://api.github.com/repos/phpbb/phpbb-ideas/assignees{/user}","branches_url":"https://api.github.com/repos/phpbb/phpbb-ideas/branches{/branch}","tags_url":"https://api.github.com/repos/phpbb/phpbb-ideas/tags","blobs_url":"https://api.github.com/repos/phpbb/phpbb-ideas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phpbb/phpbb-ideas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phpbb/phpbb-ideas/git/refs{/sha}","trees_url":"https://api.github.com/repos/phpbb/phpbb-ideas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phpbb/phpbb-ideas/statuses/{sha}","languages_url":"https://api.github.com/repos/phpbb/phpbb-ideas/languages","stargazers_url":"https://api.github.com/repos/phpbb/phpbb-ideas/stargazers","contributors_url":"https://api.github.com/repos/phpbb/phpbb-ideas/contributors","subscribers_url":"https://api.github.com/repos/phpbb/phpbb-ideas/subscribers","subscription_url":"https://api.github.com/repos/phpbb/phpbb-ideas/subscription","commits_url":"https://api.github.com/repos/phpbb/phpbb-ideas/commits{/sha}","git_commits_url":"https://api.github.com/repos/phpbb/phpbb-ideas/git/commits{/sha}","comments_url":"https://api.github.com/repos/phpbb/phpbb-ideas/comments{/number}","issue_comment_url":"https://api.github.com/repos/phpbb/phpbb-ideas/issues/comments{/number}","contents_url":"https://api.github.com/repos/phpbb/phpbb-ideas/contents/{+path}","compare_url":"https://api.github.com/repos/phpbb/phpbb-ideas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phpbb/phpbb-ideas/merges","archive_url":"https://api.github.com/repos/phpbb/phpbb-ideas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phpbb/phpbb-ideas/downloads","issues_url":"https://api.github.com/repos/phpbb/phpbb-ideas/issues{/number}","pulls_url":"https://api.github.com/repos/phpbb/phpbb-ideas/pulls{/number}","milestones_url":"https://api.github.com/repos/phpbb/phpbb-ideas/milestones{/number}","notifications_url":"https://api.github.com/repos/phpbb/phpbb-ideas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phpbb/phpbb-ideas/labels{/name}","releases_url":"https://api.github.com/repos/phpbb/phpbb-ideas/releases{/id}","created_at":"2013-07-13T19:59:47Z","updated_at":"2015-10-20T01:33:45Z","pushed_at":"2015-10-29T04:56:07Z","git_url":"git://github.com/phpbb/phpbb-ideas.git","ssh_url":"git@github.com:phpbb/phpbb-ideas.git","clone_url":"https://github.com/phpbb/phpbb-ideas.git","svn_url":"https://github.com/phpbb/phpbb-ideas","homepage":null,"size":1092,"stargazers_count":10,"watchers_count":10,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":10,"default_branch":"31x"}},"_links":{"self":{"href":"https://api.github.com/repos/phpbb/phpbb-ideas/pulls/22"},"html":{"href":"https://github.com/phpbb/phpbb-ideas/pull/22"},"issue":{"href":"https://api.github.com/repos/phpbb/phpbb-ideas/issues/22"},"comments":{"href":"https://api.github.com/repos/phpbb/phpbb-ideas/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/phpbb/phpbb-ideas/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/phpbb/phpbb-ideas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phpbb/phpbb-ideas/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/phpbb/phpbb-ideas/statuses/d41d92abbfaaf24ce02014096aa41b5b54bc8fe9"}}}}