{"action":"created","comment":{"url":"https://api.github.com/repos/DrupalRu/drupal.ru/pulls/comments/177155553","pull_request_review_id":106980050,"id":177155553,"diff_hunk":"@@ -327,6 +327,9 @@ function dru_tickets_preprocess_node(&$vars) {\n         }\n       }\n     }\n+    if (!empty($vars['ticket']->moderate_uid) && $user->uid != $vars['ticket']->moderate_uid) {","path":"sites/all/modules/custom/dru_tickets/dru_tickets.module","position":15,"original_position":15,"commit_id":"1ae6ab815b9b4c1286dd7fd15d8bebd9b05fefa0","original_commit_id":"1ae6ab815b9b4c1286dd7fd15d8bebd9b05fefa0","user":{"login":"hulygun","id":8347864,"avatar_url":"https://avatars2.githubusercontent.com/u/8347864?v=4","gravatar_id":"","url":"https://api.github.com/users/hulygun","html_url":"https://github.com/hulygun","followers_url":"https://api.github.com/users/hulygun/followers","following_url":"https://api.github.com/users/hulygun/following{/other_user}","gists_url":"https://api.github.com/users/hulygun/gists{/gist_id}","starred_url":"https://api.github.com/users/hulygun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hulygun/subscriptions","organizations_url":"https://api.github.com/users/hulygun/orgs","repos_url":"https://api.github.com/users/hulygun/repos","events_url":"https://api.github.com/users/hulygun/events{/privacy}","received_events_url":"https://api.github.com/users/hulygun/received_events","type":"User","site_admin":false},"body":"плюс ко всему, это просто убирает ссылку со страницы. Нужна так же обязательно проверка и в самой функции вынесения вердикта. А то получится, как с накруткой спасибков)))","created_at":"2018-03-26T16:32:21Z","updated_at":"2018-03-26T16:32:21Z","html_url":"https://github.com/DrupalRu/drupal.ru/pull/991#discussion_r177155553","pull_request_url":"https://api.github.com/repos/DrupalRu/drupal.ru/pulls/991","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/DrupalRu/drupal.ru/pulls/comments/177155553"},"html":{"href":"https://github.com/DrupalRu/drupal.ru/pull/991#discussion_r177155553"},"pull_request":{"href":"https://api.github.com/repos/DrupalRu/drupal.ru/pulls/991"}},"in_reply_to_id":177128887},"pull_request":{"url":"https://api.github.com/repos/DrupalRu/drupal.ru/pulls/991","id":177287984,"html_url":"https://github.com/DrupalRu/drupal.ru/pull/991","diff_url":"https://github.com/DrupalRu/drupal.ru/pull/991.diff","patch_url":"https://github.com/DrupalRu/drupal.ru/pull/991.patch","issue_url":"https://api.github.com/repos/DrupalRu/drupal.ru/issues/991","number":991,"state":"open","locked":false,"title":"issue #949: Запретить изменение вердикта другим модератором","user":{"login":"itcrowd72","id":29428813,"avatar_url":"https://avatars1.githubusercontent.com/u/29428813?v=4","gravatar_id":"","url":"https://api.github.com/users/itcrowd72","html_url":"https://github.com/itcrowd72","followers_url":"https://api.github.com/users/itcrowd72/followers","following_url":"https://api.github.com/users/itcrowd72/following{/other_user}","gists_url":"https://api.github.com/users/itcrowd72/gists{/gist_id}","starred_url":"https://api.github.com/users/itcrowd72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itcrowd72/subscriptions","organizations_url":"https://api.github.com/users/itcrowd72/orgs","repos_url":"https://api.github.com/users/itcrowd72/repos","events_url":"https://api.github.com/users/itcrowd72/events{/privacy}","received_events_url":"https://api.github.com/users/itcrowd72/received_events","type":"User","site_admin":false},"body":"#949","created_at":"2018-03-25T12:53:19Z","updated_at":"2018-03-26T16:32:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c9d855090a839111b0ac02e3247ae8e66d0e686","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/DrupalRu/drupal.ru/pulls/991/commits","review_comments_url":"https://api.github.com/repos/DrupalRu/drupal.ru/pulls/991/comments","review_comment_url":"https://api.github.com/repos/DrupalRu/drupal.ru/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DrupalRu/drupal.ru/issues/991/comments","statuses_url":"https://api.github.com/repos/DrupalRu/drupal.ru/statuses/1ae6ab815b9b4c1286dd7fd15d8bebd9b05fefa0","head":{"label":"itcrowd72:issue-949","ref":"issue-949","sha":"1ae6ab815b9b4c1286dd7fd15d8bebd9b05fefa0","user":{"login":"itcrowd72","id":29428813,"avatar_url":"https://avatars1.githubusercontent.com/u/29428813?v=4","gravatar_id":"","url":"https://api.github.com/users/itcrowd72","html_url":"https://github.com/itcrowd72","followers_url":"https://api.github.com/users/itcrowd72/followers","following_url":"https://api.github.com/users/itcrowd72/following{/other_user}","gists_url":"https://api.github.com/users/itcrowd72/gists{/gist_id}","starred_url":"https://api.github.com/users/itcrowd72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itcrowd72/subscriptions","organizations_url":"https://api.github.com/users/itcrowd72/orgs","repos_url":"https://api.github.com/users/itcrowd72/repos","events_url":"https://api.github.com/users/itcrowd72/events{/privacy}","received_events_url":"https://api.github.com/users/itcrowd72/received_events","type":"User","site_admin":false},"repo":{"id":108844312,"name":"drupal.ru","full_name":"itcrowd72/drupal.ru","owner":{"login":"itcrowd72","id":29428813,"avatar_url":"https://avatars1.githubusercontent.com/u/29428813?v=4","gravatar_id":"","url":"https://api.github.com/users/itcrowd72","html_url":"https://github.com/itcrowd72","followers_url":"https://api.github.com/users/itcrowd72/followers","following_url":"https://api.github.com/users/itcrowd72/following{/other_user}","gists_url":"https://api.github.com/users/itcrowd72/gists{/gist_id}","starred_url":"https://api.github.com/users/itcrowd72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itcrowd72/subscriptions","organizations_url":"https://api.github.com/users/itcrowd72/orgs","repos_url":"https://api.github.com/users/itcrowd72/repos","events_url":"https://api.github.com/users/itcrowd72/events{/privacy}","received_events_url":"https://api.github.com/users/itcrowd72/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/itcrowd72/drupal.ru","description":"Репозиторий кода для сайта русскоязычного сообщества Drupal.","fork":true,"url":"https://api.github.com/repos/itcrowd72/drupal.ru","forks_url":"https://api.github.com/repos/itcrowd72/drupal.ru/forks","keys_url":"https://api.github.com/repos/itcrowd72/drupal.ru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itcrowd72/drupal.ru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itcrowd72/drupal.ru/teams","hooks_url":"https://api.github.com/repos/itcrowd72/drupal.ru/hooks","issue_events_url":"https://api.github.com/repos/itcrowd72/drupal.ru/issues/events{/number}","events_url":"https://api.github.com/repos/itcrowd72/drupal.ru/events","assignees_url":"https://api.github.com/repos/itcrowd72/drupal.ru/assignees{/user}","branches_url":"https://api.github.com/repos/itcrowd72/drupal.ru/branches{/branch}","tags_url":"https://api.github.com/repos/itcrowd72/drupal.ru/tags","blobs_url":"https://api.github.com/repos/itcrowd72/drupal.ru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itcrowd72/drupal.ru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itcrowd72/drupal.ru/git/refs{/sha}","trees_url":"https://api.github.com/repos/itcrowd72/drupal.ru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itcrowd72/drupal.ru/statuses/{sha}","languages_url":"https://api.github.com/repos/itcrowd72/drupal.ru/languages","stargazers_url":"https://api.github.com/repos/itcrowd72/drupal.ru/stargazers","contributors_url":"https://api.github.com/repos/itcrowd72/drupal.ru/contributors","subscribers_url":"https://api.github.com/repos/itcrowd72/drupal.ru/subscribers","subscription_url":"https://api.github.com/repos/itcrowd72/drupal.ru/subscription","commits_url":"https://api.github.com/repos/itcrowd72/drupal.ru/commits{/sha}","git_commits_url":"https://api.github.com/repos/itcrowd72/drupal.ru/git/commits{/sha}","comments_url":"https://api.github.com/repos/itcrowd72/drupal.ru/comments{/number}","issue_comment_url":"https://api.github.com/repos/itcrowd72/drupal.ru/issues/comments{/number}","contents_url":"https://api.github.com/repos/itcrowd72/drupal.ru/contents/{+path}","compare_url":"https://api.github.com/repos/itcrowd72/drupal.ru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itcrowd72/drupal.ru/merges","archive_url":"https://api.github.com/repos/itcrowd72/drupal.ru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itcrowd72/drupal.ru/downloads","issues_url":"https://api.github.com/repos/itcrowd72/drupal.ru/issues{/number}","pulls_url":"https://api.github.com/repos/itcrowd72/drupal.ru/pulls{/number}","milestones_url":"https://api.github.com/repos/itcrowd72/drupal.ru/milestones{/number}","notifications_url":"https://api.github.com/repos/itcrowd72/drupal.ru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itcrowd72/drupal.ru/labels{/name}","releases_url":"https://api.github.com/repos/itcrowd72/drupal.ru/releases{/id}","deployments_url":"https://api.github.com/repos/itcrowd72/drupal.ru/deployments","created_at":"2017-10-30T11:56:47Z","updated_at":"2018-03-19T09:56:03Z","pushed_at":"2018-03-25T12:52:39Z","git_url":"git://github.com/itcrowd72/drupal.ru.git","ssh_url":"git@github.com:itcrowd72/drupal.ru.git","clone_url":"https://github.com/itcrowd72/drupal.ru.git","svn_url":"https://github.com/itcrowd72/drupal.ru","homepage":"drupal.ru","size":32005,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"DrupalRu:dev","ref":"dev","sha":"3d5d40e0412b8043cd8cb413b5e7246f5f8dfa1b","user":{"login":"DrupalRu","id":6241262,"avatar_url":"https://avatars3.githubusercontent.com/u/6241262?v=4","gravatar_id":"","url":"https://api.github.com/users/DrupalRu","html_url":"https://github.com/DrupalRu","followers_url":"https://api.github.com/users/DrupalRu/followers","following_url":"https://api.github.com/users/DrupalRu/following{/other_user}","gists_url":"https://api.github.com/users/DrupalRu/gists{/gist_id}","starred_url":"https://api.github.com/users/DrupalRu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrupalRu/subscriptions","organizations_url":"https://api.github.com/users/DrupalRu/orgs","repos_url":"https://api.github.com/users/DrupalRu/repos","events_url":"https://api.github.com/users/DrupalRu/events{/privacy}","received_events_url":"https://api.github.com/users/DrupalRu/received_events","type":"Organization","site_admin":false},"repo":{"id":41119831,"name":"drupal.ru","full_name":"DrupalRu/drupal.ru","owner":{"login":"DrupalRu","id":6241262,"avatar_url":"https://avatars3.githubusercontent.com/u/6241262?v=4","gravatar_id":"","url":"https://api.github.com/users/DrupalRu","html_url":"https://github.com/DrupalRu","followers_url":"https://api.github.com/users/DrupalRu/followers","following_url":"https://api.github.com/users/DrupalRu/following{/other_user}","gists_url":"https://api.github.com/users/DrupalRu/gists{/gist_id}","starred_url":"https://api.github.com/users/DrupalRu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrupalRu/subscriptions","organizations_url":"https://api.github.com/users/DrupalRu/orgs","repos_url":"https://api.github.com/users/DrupalRu/repos","events_url":"https://api.github.com/users/DrupalRu/events{/privacy}","received_events_url":"https://api.github.com/users/DrupalRu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DrupalRu/drupal.ru","description":"Репозиторий кода для сайта русскоязычного сообщества Drupal.","fork":false,"url":"https://api.github.com/repos/DrupalRu/drupal.ru","forks_url":"https://api.github.com/repos/DrupalRu/drupal.ru/forks","keys_url":"https://api.github.com/repos/DrupalRu/drupal.ru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DrupalRu/drupal.ru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DrupalRu/drupal.ru/teams","hooks_url":"https://api.github.com/repos/DrupalRu/drupal.ru/hooks","issue_events_url":"https://api.github.com/repos/DrupalRu/drupal.ru/issues/events{/number}","events_url":"https://api.github.com/repos/DrupalRu/drupal.ru/events","assignees_url":"https://api.github.com/repos/DrupalRu/drupal.ru/assignees{/user}","branches_url":"https://api.github.com/repos/DrupalRu/drupal.ru/branches{/branch}","tags_url":"https://api.github.com/repos/DrupalRu/drupal.ru/tags","blobs_url":"https://api.github.com/repos/DrupalRu/drupal.ru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DrupalRu/drupal.ru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DrupalRu/drupal.ru/git/refs{/sha}","trees_url":"https://api.github.com/repos/DrupalRu/drupal.ru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DrupalRu/drupal.ru/statuses/{sha}","languages_url":"https://api.github.com/repos/DrupalRu/drupal.ru/languages","stargazers_url":"https://api.github.com/repos/DrupalRu/drupal.ru/stargazers","contributors_url":"https://api.github.com/repos/DrupalRu/drupal.ru/contributors","subscribers_url":"https://api.github.com/repos/DrupalRu/drupal.ru/subscribers","subscription_url":"https://api.github.com/repos/DrupalRu/drupal.ru/subscription","commits_url":"https://api.github.com/repos/DrupalRu/drupal.ru/commits{/sha}","git_commits_url":"https://api.github.com/repos/DrupalRu/drupal.ru/git/commits{/sha}","comments_url":"https://api.github.com/repos/DrupalRu/drupal.ru/comments{/number}","issue_comment_url":"https://api.github.com/repos/DrupalRu/drupal.ru/issues/comments{/number}","contents_url":"https://api.github.com/repos/DrupalRu/drupal.ru/contents/{+path}","compare_url":"https://api.github.com/repos/DrupalRu/drupal.ru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DrupalRu/drupal.ru/merges","archive_url":"https://api.github.com/repos/DrupalRu/drupal.ru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DrupalRu/drupal.ru/downloads","issues_url":"https://api.github.com/repos/DrupalRu/drupal.ru/issues{/number}","pulls_url":"https://api.github.com/repos/DrupalRu/drupal.ru/pulls{/number}","milestones_url":"https://api.github.com/repos/DrupalRu/drupal.ru/milestones{/number}","notifications_url":"https://api.github.com/repos/DrupalRu/drupal.ru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DrupalRu/drupal.ru/labels{/name}","releases_url":"https://api.github.com/repos/DrupalRu/drupal.ru/releases{/id}","deployments_url":"https://api.github.com/repos/DrupalRu/drupal.ru/deployments","created_at":"2015-08-20T21:31:34Z","updated_at":"2018-03-17T12:33:54Z","pushed_at":"2018-03-25T12:53:20Z","git_url":"git://github.com/DrupalRu/drupal.ru.git","ssh_url":"git@github.com:DrupalRu/drupal.ru.git","clone_url":"https://github.com/DrupalRu/drupal.ru.git","svn_url":"https://github.com/DrupalRu/drupal.ru","homepage":"https://drupal.ru","size":31991,"stargazers_count":26,"watchers_count":26,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":109,"license":null,"forks":27,"open_issues":109,"watchers":26,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/DrupalRu/drupal.ru/pulls/991"},"html":{"href":"https://github.com/DrupalRu/drupal.ru/pull/991"},"issue":{"href":"https://api.github.com/repos/DrupalRu/drupal.ru/issues/991"},"comments":{"href":"https://api.github.com/repos/DrupalRu/drupal.ru/issues/991/comments"},"review_comments":{"href":"https://api.github.com/repos/DrupalRu/drupal.ru/pulls/991/comments"},"review_comment":{"href":"https://api.github.com/repos/DrupalRu/drupal.ru/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DrupalRu/drupal.ru/pulls/991/commits"},"statuses":{"href":"https://api.github.com/repos/DrupalRu/drupal.ru/statuses/1ae6ab815b9b4c1286dd7fd15d8bebd9b05fefa0"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"hulygun"}}