{"action":"created","comment":{"url":"https://api.github.com/repos/phpbb/phpbb/pulls/comments/69773439","id":69773439,"diff_hunk":"@@ -2573,6 +2573,11 @@ function prune($forum_id, $prune_mode, $prune_date, $prune_flags = 0, $auto_sync\n \t\t$sql_and .= ' AND topic_status = ' . ITEM_MOVED . \" AND topic_last_post_time < $prune_date\";\n \t}\n \n+\tif ($prune_limit > 0)\n+\t{\n+\t\t$sql_and .= \" LIMIT $prune_limit\";","path":"phpBB/includes/functions_admin.php","position":15,"original_position":15,"commit_id":"c4b93c9c1c7c820cdefaaeb7f6e9101eeda233a8","original_commit_id":"91702618852de42daebd0150f9bb2979e1aa6fa9","user":{"login":"marc1706","id":394418,"avatar_url":"https://avatars.githubusercontent.com/u/394418?v=3","gravatar_id":"","url":"https://api.github.com/users/marc1706","html_url":"https://github.com/marc1706","followers_url":"https://api.github.com/users/marc1706/followers","following_url":"https://api.github.com/users/marc1706/following{/other_user}","gists_url":"https://api.github.com/users/marc1706/gists{/gist_id}","starred_url":"https://api.github.com/users/marc1706/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marc1706/subscriptions","organizations_url":"https://api.github.com/users/marc1706/orgs","repos_url":"https://api.github.com/users/marc1706/repos","events_url":"https://api.github.com/users/marc1706/events{/privacy}","received_events_url":"https://api.github.com/users/marc1706/received_events","type":"User","site_admin":false},"body":"I'd rather fix this correctly in the mysql_base class and use the sql_limit() method here. Would you be so kind and create a ticket for that in the tracker as well?","created_at":"2016-07-06T17:22:28Z","updated_at":"2016-07-06T17:22:28Z","html_url":"https://github.com/phpbb/phpbb/pull/4374#discussion_r69773439","pull_request_url":"https://api.github.com/repos/phpbb/phpbb/pulls/4374","_links":{"self":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/comments/69773439"},"html":{"href":"https://github.com/phpbb/phpbb/pull/4374#discussion_r69773439"},"pull_request":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/4374"}}},"pull_request":{"url":"https://api.github.com/repos/phpbb/phpbb/pulls/4374","id":75279648,"html_url":"https://github.com/phpbb/phpbb/pull/4374","diff_url":"https://github.com/phpbb/phpbb/pull/4374.diff","patch_url":"https://github.com/phpbb/phpbb/pull/4374.patch","issue_url":"https://api.github.com/repos/phpbb/phpbb/issues/4374","number":4374,"state":"open","locked":false,"title":"[ticket/14616] Fixed auto-prune failing on large forums","user":{"login":"TheKigen","id":5594004,"avatar_url":"https://avatars.githubusercontent.com/u/5594004?v=3","gravatar_id":"","url":"https://api.github.com/users/TheKigen","html_url":"https://github.com/TheKigen","followers_url":"https://api.github.com/users/TheKigen/followers","following_url":"https://api.github.com/users/TheKigen/following{/other_user}","gists_url":"https://api.github.com/users/TheKigen/gists{/gist_id}","starred_url":"https://api.github.com/users/TheKigen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheKigen/subscriptions","organizations_url":"https://api.github.com/users/TheKigen/orgs","repos_url":"https://api.github.com/users/TheKigen/repos","events_url":"https://api.github.com/users/TheKigen/events{/privacy}","received_events_url":"https://api.github.com/users/TheKigen/received_events","type":"User","site_admin":false},"body":"[PHPBB3-14616](https://tracker.phpbb.com/browse/PHPBB3-14616)","created_at":"2016-06-27T09:21:52Z","updated_at":"2016-07-06T17:22:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9f9e6988c12124c8e4f9d1152f1241e29087db1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/phpbb/phpbb/pulls/4374/commits","review_comments_url":"https://api.github.com/repos/phpbb/phpbb/pulls/4374/comments","review_comment_url":"https://api.github.com/repos/phpbb/phpbb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phpbb/phpbb/issues/4374/comments","statuses_url":"https://api.github.com/repos/phpbb/phpbb/statuses/c4b93c9c1c7c820cdefaaeb7f6e9101eeda233a8","head":{"label":"TheKigen:ticket/14616","ref":"ticket/14616","sha":"c4b93c9c1c7c820cdefaaeb7f6e9101eeda233a8","user":{"login":"TheKigen","id":5594004,"avatar_url":"https://avatars.githubusercontent.com/u/5594004?v=3","gravatar_id":"","url":"https://api.github.com/users/TheKigen","html_url":"https://github.com/TheKigen","followers_url":"https://api.github.com/users/TheKigen/followers","following_url":"https://api.github.com/users/TheKigen/following{/other_user}","gists_url":"https://api.github.com/users/TheKigen/gists{/gist_id}","starred_url":"https://api.github.com/users/TheKigen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheKigen/subscriptions","organizations_url":"https://api.github.com/users/TheKigen/orgs","repos_url":"https://api.github.com/users/TheKigen/repos","events_url":"https://api.github.com/users/TheKigen/events{/privacy}","received_events_url":"https://api.github.com/users/TheKigen/received_events","type":"User","site_admin":false},"repo":{"id":62042339,"name":"phpbb","full_name":"TheKigen/phpbb","owner":{"login":"TheKigen","id":5594004,"avatar_url":"https://avatars.githubusercontent.com/u/5594004?v=3","gravatar_id":"","url":"https://api.github.com/users/TheKigen","html_url":"https://github.com/TheKigen","followers_url":"https://api.github.com/users/TheKigen/followers","following_url":"https://api.github.com/users/TheKigen/following{/other_user}","gists_url":"https://api.github.com/users/TheKigen/gists{/gist_id}","starred_url":"https://api.github.com/users/TheKigen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheKigen/subscriptions","organizations_url":"https://api.github.com/users/TheKigen/orgs","repos_url":"https://api.github.com/users/TheKigen/repos","events_url":"https://api.github.com/users/TheKigen/events{/privacy}","received_events_url":"https://api.github.com/users/TheKigen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheKigen/phpbb","description":" phpBB 3 Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.","fork":true,"url":"https://api.github.com/repos/TheKigen/phpbb","forks_url":"https://api.github.com/repos/TheKigen/phpbb/forks","keys_url":"https://api.github.com/repos/TheKigen/phpbb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheKigen/phpbb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheKigen/phpbb/teams","hooks_url":"https://api.github.com/repos/TheKigen/phpbb/hooks","issue_events_url":"https://api.github.com/repos/TheKigen/phpbb/issues/events{/number}","events_url":"https://api.github.com/repos/TheKigen/phpbb/events","assignees_url":"https://api.github.com/repos/TheKigen/phpbb/assignees{/user}","branches_url":"https://api.github.com/repos/TheKigen/phpbb/branches{/branch}","tags_url":"https://api.github.com/repos/TheKigen/phpbb/tags","blobs_url":"https://api.github.com/repos/TheKigen/phpbb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheKigen/phpbb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheKigen/phpbb/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheKigen/phpbb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheKigen/phpbb/statuses/{sha}","languages_url":"https://api.github.com/repos/TheKigen/phpbb/languages","stargazers_url":"https://api.github.com/repos/TheKigen/phpbb/stargazers","contributors_url":"https://api.github.com/repos/TheKigen/phpbb/contributors","subscribers_url":"https://api.github.com/repos/TheKigen/phpbb/subscribers","subscription_url":"https://api.github.com/repos/TheKigen/phpbb/subscription","commits_url":"https://api.github.com/repos/TheKigen/phpbb/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheKigen/phpbb/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheKigen/phpbb/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheKigen/phpbb/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheKigen/phpbb/contents/{+path}","compare_url":"https://api.github.com/repos/TheKigen/phpbb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheKigen/phpbb/merges","archive_url":"https://api.github.com/repos/TheKigen/phpbb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheKigen/phpbb/downloads","issues_url":"https://api.github.com/repos/TheKigen/phpbb/issues{/number}","pulls_url":"https://api.github.com/repos/TheKigen/phpbb/pulls{/number}","milestones_url":"https://api.github.com/repos/TheKigen/phpbb/milestones{/number}","notifications_url":"https://api.github.com/repos/TheKigen/phpbb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheKigen/phpbb/labels{/name}","releases_url":"https://api.github.com/repos/TheKigen/phpbb/releases{/id}","deployments_url":"https://api.github.com/repos/TheKigen/phpbb/deployments","created_at":"2016-06-27T09:16:24Z","updated_at":"2016-06-27T09:16:31Z","pushed_at":"2016-07-01T09:09:49Z","git_url":"git://github.com/TheKigen/phpbb.git","ssh_url":"git@github.com:TheKigen/phpbb.git","clone_url":"https://github.com/TheKigen/phpbb.git","svn_url":"https://github.com/TheKigen/phpbb","homepage":"http://www.phpbb.com","size":56365,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"3.1.x"}},"base":{"label":"phpbb:3.1.x","ref":"3.1.x","sha":"9595946508c198be3aaae6deb88dee2bba354aef","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":541983,"name":"phpbb","full_name":"phpbb/phpbb","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","description":" phpBB 3 Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.","fork":false,"url":"https://api.github.com/repos/phpbb/phpbb","forks_url":"https://api.github.com/repos/phpbb/phpbb/forks","keys_url":"https://api.github.com/repos/phpbb/phpbb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phpbb/phpbb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phpbb/phpbb/teams","hooks_url":"https://api.github.com/repos/phpbb/phpbb/hooks","issue_events_url":"https://api.github.com/repos/phpbb/phpbb/issues/events{/number}","events_url":"https://api.github.com/repos/phpbb/phpbb/events","assignees_url":"https://api.github.com/repos/phpbb/phpbb/assignees{/user}","branches_url":"https://api.github.com/repos/phpbb/phpbb/branches{/branch}","tags_url":"https://api.github.com/repos/phpbb/phpbb/tags","blobs_url":"https://api.github.com/repos/phpbb/phpbb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phpbb/phpbb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phpbb/phpbb/git/refs{/sha}","trees_url":"https://api.github.com/repos/phpbb/phpbb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phpbb/phpbb/statuses/{sha}","languages_url":"https://api.github.com/repos/phpbb/phpbb/languages","stargazers_url":"https://api.github.com/repos/phpbb/phpbb/stargazers","contributors_url":"https://api.github.com/repos/phpbb/phpbb/contributors","subscribers_url":"https://api.github.com/repos/phpbb/phpbb/subscribers","subscription_url":"https://api.github.com/repos/phpbb/phpbb/subscription","commits_url":"https://api.github.com/repos/phpbb/phpbb/commits{/sha}","git_commits_url":"https://api.github.com/repos/phpbb/phpbb/git/commits{/sha}","comments_url":"https://api.github.com/repos/phpbb/phpbb/comments{/number}","issue_comment_url":"https://api.github.com/repos/phpbb/phpbb/issues/comments{/number}","contents_url":"https://api.github.com/repos/phpbb/phpbb/contents/{+path}","compare_url":"https://api.github.com/repos/phpbb/phpbb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phpbb/phpbb/merges","archive_url":"https://api.github.com/repos/phpbb/phpbb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phpbb/phpbb/downloads","issues_url":"https://api.github.com/repos/phpbb/phpbb/issues{/number}","pulls_url":"https://api.github.com/repos/phpbb/phpbb/pulls{/number}","milestones_url":"https://api.github.com/repos/phpbb/phpbb/milestones{/number}","notifications_url":"https://api.github.com/repos/phpbb/phpbb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phpbb/phpbb/labels{/name}","releases_url":"https://api.github.com/repos/phpbb/phpbb/releases{/id}","deployments_url":"https://api.github.com/repos/phpbb/phpbb/deployments","created_at":"2010-03-01T22:33:17Z","updated_at":"2016-07-05T14:31:07Z","pushed_at":"2016-07-06T17:20:51Z","git_url":"git://github.com/phpbb/phpbb.git","ssh_url":"git@github.com:phpbb/phpbb.git","clone_url":"https://github.com/phpbb/phpbb.git","svn_url":"https://github.com/phpbb/phpbb","homepage":"http://www.phpbb.com","size":171422,"stargazers_count":882,"watchers_count":882,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":551,"mirror_url":null,"open_issues_count":58,"forks":551,"open_issues":58,"watchers":882,"default_branch":"3.1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/4374"},"html":{"href":"https://github.com/phpbb/phpbb/pull/4374"},"issue":{"href":"https://api.github.com/repos/phpbb/phpbb/issues/4374"},"comments":{"href":"https://api.github.com/repos/phpbb/phpbb/issues/4374/comments"},"review_comments":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/4374/comments"},"review_comment":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/4374/commits"},"statuses":{"href":"https://api.github.com/repos/phpbb/phpbb/statuses/c4b93c9c1c7c820cdefaaeb7f6e9101eeda233a8"}}}}
{"actor":{"display_login":"marc1706"}}