{"action":"created","comment":{"url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/pulls/comments/24067136","id":24067136,"diff_hunk":"@@ -63,10 +59,10 @@ public function close_announcement()\n \t\t// Check the link hash to protect against CSRF/XSRF attacks\n \t\tif (!check_link_hash($this->request->variable('hash', ''), 'close_boardannouncement') || !$this->config['board_announcements_dismiss'])\n \t\t{\n-\t\t\treturn $this->helper->error($this->user->lang('GENERAL_ERROR'), 200);\n+\t\t\tthrow new \\phpbb\\exception\\http_exception(500, 'GENERAL_ERROR');","path":"controller/controller.php","position":45,"original_position":45,"commit_id":"1e30099fe81e117e4bd1e1efd42ee839f5a2289b","original_commit_id":"1e30099fe81e117e4bd1e1efd42ee839f5a2289b","user":{"login":"nickvergessen","id":213943,"avatar_url":"https://avatars.githubusercontent.com/u/213943?v=3","gravatar_id":"","url":"https://api.github.com/users/nickvergessen","html_url":"https://github.com/nickvergessen","followers_url":"https://api.github.com/users/nickvergessen/followers","following_url":"https://api.github.com/users/nickvergessen/following{/other_user}","gists_url":"https://api.github.com/users/nickvergessen/gists{/gist_id}","starred_url":"https://api.github.com/users/nickvergessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickvergessen/subscriptions","organizations_url":"https://api.github.com/users/nickvergessen/orgs","repos_url":"https://api.github.com/users/nickvergessen/repos","events_url":"https://api.github.com/users/nickvergessen/events{/privacy}","received_events_url":"https://api.github.com/users/nickvergessen/received_events","type":"User","site_admin":false},"body":"throw 403, INVALID_TOKEN ?","created_at":"2015-02-04T07:39:19Z","updated_at":"2015-02-04T07:39:19Z","html_url":"https://github.com/phpbb-extensions/boardannouncements/pull/71#discussion_r24067136","pull_request_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/pulls/71","_links":{"self":{"href":"https://api.github.com/repos/phpbb-extensions/boardannouncements/pulls/comments/24067136"},"html":{"href":"https://github.com/phpbb-extensions/boardannouncements/pull/71#discussion_r24067136"},"pull_request":{"href":"https://api.github.com/repos/phpbb-extensions/boardannouncements/pulls/71"}}},"pull_request":{"url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/pulls/71","id":28610287,"html_url":"https://github.com/phpbb-extensions/boardannouncements/pull/71","diff_url":"https://github.com/phpbb-extensions/boardannouncements/pull/71.diff","patch_url":"https://github.com/phpbb-extensions/boardannouncements/pull/71.patch","issue_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/issues/71","number":71,"state":"open","locked":false,"title":"Updates to new standards introduced in phpBB 3.1.3 and other fixes","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-02-04T03:12:22Z","updated_at":"2015-02-04T07:39:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"98ff0e47795aa3952b1c22d986794f1e7d94f1da","assignee":null,"milestone":{"url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/milestones/5","labels_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/milestones/5/labels","id":964828,"number":5,"title":"Release 1.0.3","description":"","creator":{"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},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-02-04T03:13:12Z","updated_at":"2015-02-04T03:13:24Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/pulls/71/commits","review_comments_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/pulls/71/comments","review_comment_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/pulls/comments/{number}","comments_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/issues/71/comments","statuses_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/statuses/1e30099fe81e117e4bd1e1efd42ee839f5a2289b","head":{"label":"VSEphpbb:update","ref":"update","sha":"1e30099fe81e117e4bd1e1efd42ee839f5a2289b","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":20110820,"name":"boardannouncements","full_name":"VSEphpbb/boardannouncements","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/boardannouncements","description":"","fork":true,"url":"https://api.github.com/repos/VSEphpbb/boardannouncements","forks_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/forks","keys_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/teams","hooks_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/hooks","issue_events_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/issues/events{/number}","events_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/events","assignees_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/assignees{/user}","branches_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/branches{/branch}","tags_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/tags","blobs_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/git/refs{/sha}","trees_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/statuses/{sha}","languages_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/languages","stargazers_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/stargazers","contributors_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/contributors","subscribers_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/subscribers","subscription_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/subscription","commits_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/commits{/sha}","git_commits_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/git/commits{/sha}","comments_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/comments{/number}","issue_comment_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/issues/comments/{number}","contents_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/contents/{+path}","compare_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/merges","archive_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/downloads","issues_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/issues{/number}","pulls_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/pulls{/number}","milestones_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/milestones{/number}","notifications_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/labels{/name}","releases_url":"https://api.github.com/repos/VSEphpbb/boardannouncements/releases{/id}","created_at":"2014-05-23T19:02:54Z","updated_at":"2015-01-05T05:22:52Z","pushed_at":"2015-02-04T03:18:25Z","git_url":"git://github.com/VSEphpbb/boardannouncements.git","ssh_url":"git@github.com:VSEphpbb/boardannouncements.git","clone_url":"https://github.com/VSEphpbb/boardannouncements.git","svn_url":"https://github.com/VSEphpbb/boardannouncements","homepage":null,"size":709,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"phpbb-extensions:master","ref":"master","sha":"aa342bde79806ef020112fab2d7b1b6bf2152203","user":{"login":"phpbb-extensions","id":5825776,"avatar_url":"https://avatars.githubusercontent.com/u/5825776?v=3","gravatar_id":"","url":"https://api.github.com/users/phpbb-extensions","html_url":"https://github.com/phpbb-extensions","followers_url":"https://api.github.com/users/phpbb-extensions/followers","following_url":"https://api.github.com/users/phpbb-extensions/following{/other_user}","gists_url":"https://api.github.com/users/phpbb-extensions/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbb-extensions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbb-extensions/subscriptions","organizations_url":"https://api.github.com/users/phpbb-extensions/orgs","repos_url":"https://api.github.com/users/phpbb-extensions/repos","events_url":"https://api.github.com/users/phpbb-extensions/events{/privacy}","received_events_url":"https://api.github.com/users/phpbb-extensions/received_events","type":"Organization","site_admin":false},"repo":{"id":20110469,"name":"boardannouncements","full_name":"phpbb-extensions/boardannouncements","owner":{"login":"phpbb-extensions","id":5825776,"avatar_url":"https://avatars.githubusercontent.com/u/5825776?v=3","gravatar_id":"","url":"https://api.github.com/users/phpbb-extensions","html_url":"https://github.com/phpbb-extensions","followers_url":"https://api.github.com/users/phpbb-extensions/followers","following_url":"https://api.github.com/users/phpbb-extensions/following{/other_user}","gists_url":"https://api.github.com/users/phpbb-extensions/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbb-extensions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbb-extensions/subscriptions","organizations_url":"https://api.github.com/users/phpbb-extensions/orgs","repos_url":"https://api.github.com/users/phpbb-extensions/repos","events_url":"https://api.github.com/users/phpbb-extensions/events{/privacy}","received_events_url":"https://api.github.com/users/phpbb-extensions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phpbb-extensions/boardannouncements","description":"Board Announcements Extension for phpBB 3.1","fork":false,"url":"https://api.github.com/repos/phpbb-extensions/boardannouncements","forks_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/forks","keys_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/teams","hooks_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/hooks","issue_events_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/issues/events{/number}","events_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/events","assignees_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/assignees{/user}","branches_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/branches{/branch}","tags_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/tags","blobs_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/git/refs{/sha}","trees_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/statuses/{sha}","languages_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/languages","stargazers_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/stargazers","contributors_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/contributors","subscribers_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/subscribers","subscription_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/subscription","commits_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/commits{/sha}","git_commits_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/git/commits{/sha}","comments_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/comments{/number}","issue_comment_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/issues/comments/{number}","contents_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/contents/{+path}","compare_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/merges","archive_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/downloads","issues_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/issues{/number}","pulls_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/pulls{/number}","milestones_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/milestones{/number}","notifications_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/labels{/name}","releases_url":"https://api.github.com/repos/phpbb-extensions/boardannouncements/releases{/id}","created_at":"2014-05-23T18:52:41Z","updated_at":"2015-01-30T08:04:44Z","pushed_at":"2015-01-31T06:56:05Z","git_url":"git://github.com/phpbb-extensions/boardannouncements.git","ssh_url":"git@github.com:phpbb-extensions/boardannouncements.git","clone_url":"https://github.com/phpbb-extensions/boardannouncements.git","svn_url":"https://github.com/phpbb-extensions/boardannouncements","homepage":"","size":635,"stargazers_count":8,"watchers_count":8,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":1,"forks":11,"open_issues":1,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phpbb-extensions/boardannouncements/pulls/71"},"html":{"href":"https://github.com/phpbb-extensions/boardannouncements/pull/71"},"issue":{"href":"https://api.github.com/repos/phpbb-extensions/boardannouncements/issues/71"},"comments":{"href":"https://api.github.com/repos/phpbb-extensions/boardannouncements/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/phpbb-extensions/boardannouncements/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/phpbb-extensions/boardannouncements/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/phpbb-extensions/boardannouncements/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/phpbb-extensions/boardannouncements/statuses/1e30099fe81e117e4bd1e1efd42ee839f5a2289b"}}}}