{"action":"created","issue":{"url":"https://api.github.com/repos/phpbb/phpbb/issues/3387","labels_url":"https://api.github.com/repos/phpbb/phpbb/issues/3387/labels{/name}","comments_url":"https://api.github.com/repos/phpbb/phpbb/issues/3387/comments","events_url":"https://api.github.com/repos/phpbb/phpbb/issues/3387/events","html_url":"https://github.com/phpbb/phpbb/pull/3387","id":57122320,"number":3387,"title":"[ticket/13595] Remove unused instances of the bbcode class","user":{"login":"s9e","id":317712,"avatar_url":"https://avatars.githubusercontent.com/u/317712?v=3","gravatar_id":"","url":"https://api.github.com/users/s9e","html_url":"https://github.com/s9e","followers_url":"https://api.github.com/users/s9e/followers","following_url":"https://api.github.com/users/s9e/following{/other_user}","gists_url":"https://api.github.com/users/s9e/gists{/gist_id}","starred_url":"https://api.github.com/users/s9e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s9e/subscriptions","organizations_url":"https://api.github.com/users/s9e/orgs","repos_url":"https://api.github.com/users/s9e/repos","events_url":"https://api.github.com/users/s9e/events{/privacy}","received_events_url":"https://api.github.com/users/s9e/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phpbb/phpbb/labels/3.2%20(Rhea)","name":"3.2 (Rhea)","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/phpbb/phpbb/milestones/2","labels_url":"https://api.github.com/repos/phpbb/phpbb/milestones/2/labels","id":835770,"number":2,"title":"3.2.0","description":"","creator":{"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},"open_issues":37,"closed_issues":29,"state":"open","created_at":"2014-10-22T10:41:02Z","updated_at":"2015-02-10T14:55:38Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-02-10T02:32:33Z","updated_at":"2015-02-11T11:02:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/phpbb/phpbb/pulls/3387","html_url":"https://github.com/phpbb/phpbb/pull/3387","diff_url":"https://github.com/phpbb/phpbb/pull/3387.diff","patch_url":"https://github.com/phpbb/phpbb/pull/3387.patch"},"body":"There are a few unused instances of the bbcode class created in various places. I think it's just leftover code from PHPBB3-11635.\r\n\r\nhttps://tracker.phpbb.com/browse/PHPBB3-13595"},"comment":{"url":"https://api.github.com/repos/phpbb/phpbb/issues/comments/73864350","html_url":"https://github.com/phpbb/phpbb/pull/3387#issuecomment-73864350","issue_url":"https://api.github.com/repos/phpbb/phpbb/issues/3387","id":73864350,"user":{"login":"s9e","id":317712,"avatar_url":"https://avatars.githubusercontent.com/u/317712?v=3","gravatar_id":"","url":"https://api.github.com/users/s9e","html_url":"https://github.com/s9e","followers_url":"https://api.github.com/users/s9e/followers","following_url":"https://api.github.com/users/s9e/following{/other_user}","gists_url":"https://api.github.com/users/s9e/gists{/gist_id}","starred_url":"https://api.github.com/users/s9e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s9e/subscriptions","organizations_url":"https://api.github.com/users/s9e/orgs","repos_url":"https://api.github.com/users/s9e/repos","events_url":"https://api.github.com/users/s9e/events{/privacy}","received_events_url":"https://api.github.com/users/s9e/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T11:02:23Z","updated_at":"2015-02-11T11:02:23Z","body":"@bantu There's no subtask to PHPBB3-13595 so I guess you were talking about PHPBB3-11635? The patches that made this code redundant were applied a long time ago, it's not related to any other future changes.\r\n\r\nIt's easy enough to verify that no other file uses those `$bbcode` instances:\r\n```\r\n$ grep -R \"\\\\\\$bbcode->\" phpBB\r\nphpBB/includes/functions_content.php:                   $bbcode->bbcode($bitfield);\r\nphpBB/includes/functions_content.php:           $bbcode->bbcode_second_pass($text, $uid);\r\n```"}}