{"action":"created","comment":{"url":"https://api.github.com/repos/dkorhov/drupal_training/pulls/comments/93212851","pull_request_review_id":13734286,"id":93212851,"diff_hunk":"@@ -0,0 +1,201 @@\n+<?php\n+\n+/**\n+ * @file\n+ * Module contains tasks from 5 homework of EPAM's Drupal course.\n+ */\n+\n+/**\n+ * Implements hook_menu().\n+ */\n+function learn_five_menu() {\n+  $items['files'] = array(\n+    'title' => 'All files',\n+    'page callback' => 'learn_five_all_files_landing_page',\n+    'access callback' => 'user_is_logged_in',\n+  );\n+\n+  $items['files/upload'] = array(\n+    'title' => 'Upload file',","path":"docroot/sites/all/modules/custom/learn_five/learn_five.module","position":19,"original_position":19,"commit_id":"cee05ce359828961c30076d9a14df3b7740fe29e","original_commit_id":"cee05ce359828961c30076d9a14df3b7740fe29e","user":{"login":"dprudnikov","id":9367836,"avatar_url":"https://avatars.githubusercontent.com/u/9367836?v=3","gravatar_id":"","url":"https://api.github.com/users/dprudnikov","html_url":"https://github.com/dprudnikov","followers_url":"https://api.github.com/users/dprudnikov/followers","following_url":"https://api.github.com/users/dprudnikov/following{/other_user}","gists_url":"https://api.github.com/users/dprudnikov/gists{/gist_id}","starred_url":"https://api.github.com/users/dprudnikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dprudnikov/subscriptions","organizations_url":"https://api.github.com/users/dprudnikov/orgs","repos_url":"https://api.github.com/users/dprudnikov/repos","events_url":"https://api.github.com/users/dprudnikov/events{/privacy}","received_events_url":"https://api.github.com/users/dprudnikov/received_events","type":"User","site_admin":false},"body":"It would be better to add description","created_at":"2016-12-20T10:48:40Z","updated_at":"2016-12-20T10:48:40Z","html_url":"https://github.com/dkorhov/drupal_training/pull/12#discussion_r93212851","pull_request_url":"https://api.github.com/repos/dkorhov/drupal_training/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/dkorhov/drupal_training/pulls/comments/93212851"},"html":{"href":"https://github.com/dkorhov/drupal_training/pull/12#discussion_r93212851"},"pull_request":{"href":"https://api.github.com/repos/dkorhov/drupal_training/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/dkorhov/drupal_training/pulls/12","id":98578870,"html_url":"https://github.com/dkorhov/drupal_training/pull/12","diff_url":"https://github.com/dkorhov/drupal_training/pull/12.diff","patch_url":"https://github.com/dkorhov/drupal_training/pull/12.patch","issue_url":"https://api.github.com/repos/dkorhov/drupal_training/issues/12","number":12,"state":"open","locked":false,"title":"implements task_five","user":{"login":"dkorhov","id":24305940,"avatar_url":"https://avatars.githubusercontent.com/u/24305940?v=3","gravatar_id":"","url":"https://api.github.com/users/dkorhov","html_url":"https://github.com/dkorhov","followers_url":"https://api.github.com/users/dkorhov/followers","following_url":"https://api.github.com/users/dkorhov/following{/other_user}","gists_url":"https://api.github.com/users/dkorhov/gists{/gist_id}","starred_url":"https://api.github.com/users/dkorhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkorhov/subscriptions","organizations_url":"https://api.github.com/users/dkorhov/orgs","repos_url":"https://api.github.com/users/dkorhov/repos","events_url":"https://api.github.com/users/dkorhov/events{/privacy}","received_events_url":"https://api.github.com/users/dkorhov/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-19T14:54:37Z","updated_at":"2016-12-20T10:48:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7cc73274996c054922250369a96487e3b5c1619","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dkorhov/drupal_training/pulls/12/commits","review_comments_url":"https://api.github.com/repos/dkorhov/drupal_training/pulls/12/comments","review_comment_url":"https://api.github.com/repos/dkorhov/drupal_training/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dkorhov/drupal_training/issues/12/comments","statuses_url":"https://api.github.com/repos/dkorhov/drupal_training/statuses/cee05ce359828961c30076d9a14df3b7740fe29e","head":{"label":"dkorhov:task_five","ref":"task_five","sha":"cee05ce359828961c30076d9a14df3b7740fe29e","user":{"login":"dkorhov","id":24305940,"avatar_url":"https://avatars.githubusercontent.com/u/24305940?v=3","gravatar_id":"","url":"https://api.github.com/users/dkorhov","html_url":"https://github.com/dkorhov","followers_url":"https://api.github.com/users/dkorhov/followers","following_url":"https://api.github.com/users/dkorhov/following{/other_user}","gists_url":"https://api.github.com/users/dkorhov/gists{/gist_id}","starred_url":"https://api.github.com/users/dkorhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkorhov/subscriptions","organizations_url":"https://api.github.com/users/dkorhov/orgs","repos_url":"https://api.github.com/users/dkorhov/repos","events_url":"https://api.github.com/users/dkorhov/events{/privacy}","received_events_url":"https://api.github.com/users/dkorhov/received_events","type":"User","site_admin":false},"repo":{"id":75344880,"name":"drupal_training","full_name":"dkorhov/drupal_training","owner":{"login":"dkorhov","id":24305940,"avatar_url":"https://avatars.githubusercontent.com/u/24305940?v=3","gravatar_id":"","url":"https://api.github.com/users/dkorhov","html_url":"https://github.com/dkorhov","followers_url":"https://api.github.com/users/dkorhov/followers","following_url":"https://api.github.com/users/dkorhov/following{/other_user}","gists_url":"https://api.github.com/users/dkorhov/gists{/gist_id}","starred_url":"https://api.github.com/users/dkorhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkorhov/subscriptions","organizations_url":"https://api.github.com/users/dkorhov/orgs","repos_url":"https://api.github.com/users/dkorhov/repos","events_url":"https://api.github.com/users/dkorhov/events{/privacy}","received_events_url":"https://api.github.com/users/dkorhov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dkorhov/drupal_training","description":null,"fork":false,"url":"https://api.github.com/repos/dkorhov/drupal_training","forks_url":"https://api.github.com/repos/dkorhov/drupal_training/forks","keys_url":"https://api.github.com/repos/dkorhov/drupal_training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dkorhov/drupal_training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dkorhov/drupal_training/teams","hooks_url":"https://api.github.com/repos/dkorhov/drupal_training/hooks","issue_events_url":"https://api.github.com/repos/dkorhov/drupal_training/issues/events{/number}","events_url":"https://api.github.com/repos/dkorhov/drupal_training/events","assignees_url":"https://api.github.com/repos/dkorhov/drupal_training/assignees{/user}","branches_url":"https://api.github.com/repos/dkorhov/drupal_training/branches{/branch}","tags_url":"https://api.github.com/repos/dkorhov/drupal_training/tags","blobs_url":"https://api.github.com/repos/dkorhov/drupal_training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dkorhov/drupal_training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dkorhov/drupal_training/git/refs{/sha}","trees_url":"https://api.github.com/repos/dkorhov/drupal_training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dkorhov/drupal_training/statuses/{sha}","languages_url":"https://api.github.com/repos/dkorhov/drupal_training/languages","stargazers_url":"https://api.github.com/repos/dkorhov/drupal_training/stargazers","contributors_url":"https://api.github.com/repos/dkorhov/drupal_training/contributors","subscribers_url":"https://api.github.com/repos/dkorhov/drupal_training/subscribers","subscription_url":"https://api.github.com/repos/dkorhov/drupal_training/subscription","commits_url":"https://api.github.com/repos/dkorhov/drupal_training/commits{/sha}","git_commits_url":"https://api.github.com/repos/dkorhov/drupal_training/git/commits{/sha}","comments_url":"https://api.github.com/repos/dkorhov/drupal_training/comments{/number}","issue_comment_url":"https://api.github.com/repos/dkorhov/drupal_training/issues/comments{/number}","contents_url":"https://api.github.com/repos/dkorhov/drupal_training/contents/{+path}","compare_url":"https://api.github.com/repos/dkorhov/drupal_training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dkorhov/drupal_training/merges","archive_url":"https://api.github.com/repos/dkorhov/drupal_training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dkorhov/drupal_training/downloads","issues_url":"https://api.github.com/repos/dkorhov/drupal_training/issues{/number}","pulls_url":"https://api.github.com/repos/dkorhov/drupal_training/pulls{/number}","milestones_url":"https://api.github.com/repos/dkorhov/drupal_training/milestones{/number}","notifications_url":"https://api.github.com/repos/dkorhov/drupal_training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dkorhov/drupal_training/labels{/name}","releases_url":"https://api.github.com/repos/dkorhov/drupal_training/releases{/id}","deployments_url":"https://api.github.com/repos/dkorhov/drupal_training/deployments","created_at":"2016-12-02T00:26:13Z","updated_at":"2016-12-02T12:00:02Z","pushed_at":"2016-12-19T16:06:07Z","git_url":"git://github.com/dkorhov/drupal_training.git","ssh_url":"git@github.com:dkorhov/drupal_training.git","clone_url":"https://github.com/dkorhov/drupal_training.git","svn_url":"https://github.com/dkorhov/drupal_training","homepage":null,"size":3469,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"dkorhov:master","ref":"master","sha":"166c88c944402fa36144883350429cf0d05d82d2","user":{"login":"dkorhov","id":24305940,"avatar_url":"https://avatars.githubusercontent.com/u/24305940?v=3","gravatar_id":"","url":"https://api.github.com/users/dkorhov","html_url":"https://github.com/dkorhov","followers_url":"https://api.github.com/users/dkorhov/followers","following_url":"https://api.github.com/users/dkorhov/following{/other_user}","gists_url":"https://api.github.com/users/dkorhov/gists{/gist_id}","starred_url":"https://api.github.com/users/dkorhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkorhov/subscriptions","organizations_url":"https://api.github.com/users/dkorhov/orgs","repos_url":"https://api.github.com/users/dkorhov/repos","events_url":"https://api.github.com/users/dkorhov/events{/privacy}","received_events_url":"https://api.github.com/users/dkorhov/received_events","type":"User","site_admin":false},"repo":{"id":75344880,"name":"drupal_training","full_name":"dkorhov/drupal_training","owner":{"login":"dkorhov","id":24305940,"avatar_url":"https://avatars.githubusercontent.com/u/24305940?v=3","gravatar_id":"","url":"https://api.github.com/users/dkorhov","html_url":"https://github.com/dkorhov","followers_url":"https://api.github.com/users/dkorhov/followers","following_url":"https://api.github.com/users/dkorhov/following{/other_user}","gists_url":"https://api.github.com/users/dkorhov/gists{/gist_id}","starred_url":"https://api.github.com/users/dkorhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkorhov/subscriptions","organizations_url":"https://api.github.com/users/dkorhov/orgs","repos_url":"https://api.github.com/users/dkorhov/repos","events_url":"https://api.github.com/users/dkorhov/events{/privacy}","received_events_url":"https://api.github.com/users/dkorhov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dkorhov/drupal_training","description":null,"fork":false,"url":"https://api.github.com/repos/dkorhov/drupal_training","forks_url":"https://api.github.com/repos/dkorhov/drupal_training/forks","keys_url":"https://api.github.com/repos/dkorhov/drupal_training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dkorhov/drupal_training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dkorhov/drupal_training/teams","hooks_url":"https://api.github.com/repos/dkorhov/drupal_training/hooks","issue_events_url":"https://api.github.com/repos/dkorhov/drupal_training/issues/events{/number}","events_url":"https://api.github.com/repos/dkorhov/drupal_training/events","assignees_url":"https://api.github.com/repos/dkorhov/drupal_training/assignees{/user}","branches_url":"https://api.github.com/repos/dkorhov/drupal_training/branches{/branch}","tags_url":"https://api.github.com/repos/dkorhov/drupal_training/tags","blobs_url":"https://api.github.com/repos/dkorhov/drupal_training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dkorhov/drupal_training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dkorhov/drupal_training/git/refs{/sha}","trees_url":"https://api.github.com/repos/dkorhov/drupal_training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dkorhov/drupal_training/statuses/{sha}","languages_url":"https://api.github.com/repos/dkorhov/drupal_training/languages","stargazers_url":"https://api.github.com/repos/dkorhov/drupal_training/stargazers","contributors_url":"https://api.github.com/repos/dkorhov/drupal_training/contributors","subscribers_url":"https://api.github.com/repos/dkorhov/drupal_training/subscribers","subscription_url":"https://api.github.com/repos/dkorhov/drupal_training/subscription","commits_url":"https://api.github.com/repos/dkorhov/drupal_training/commits{/sha}","git_commits_url":"https://api.github.com/repos/dkorhov/drupal_training/git/commits{/sha}","comments_url":"https://api.github.com/repos/dkorhov/drupal_training/comments{/number}","issue_comment_url":"https://api.github.com/repos/dkorhov/drupal_training/issues/comments{/number}","contents_url":"https://api.github.com/repos/dkorhov/drupal_training/contents/{+path}","compare_url":"https://api.github.com/repos/dkorhov/drupal_training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dkorhov/drupal_training/merges","archive_url":"https://api.github.com/repos/dkorhov/drupal_training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dkorhov/drupal_training/downloads","issues_url":"https://api.github.com/repos/dkorhov/drupal_training/issues{/number}","pulls_url":"https://api.github.com/repos/dkorhov/drupal_training/pulls{/number}","milestones_url":"https://api.github.com/repos/dkorhov/drupal_training/milestones{/number}","notifications_url":"https://api.github.com/repos/dkorhov/drupal_training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dkorhov/drupal_training/labels{/name}","releases_url":"https://api.github.com/repos/dkorhov/drupal_training/releases{/id}","deployments_url":"https://api.github.com/repos/dkorhov/drupal_training/deployments","created_at":"2016-12-02T00:26:13Z","updated_at":"2016-12-02T12:00:02Z","pushed_at":"2016-12-19T16:06:07Z","git_url":"git://github.com/dkorhov/drupal_training.git","ssh_url":"git@github.com:dkorhov/drupal_training.git","clone_url":"https://github.com/dkorhov/drupal_training.git","svn_url":"https://github.com/dkorhov/drupal_training","homepage":null,"size":3469,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dkorhov/drupal_training/pulls/12"},"html":{"href":"https://github.com/dkorhov/drupal_training/pull/12"},"issue":{"href":"https://api.github.com/repos/dkorhov/drupal_training/issues/12"},"comments":{"href":"https://api.github.com/repos/dkorhov/drupal_training/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/dkorhov/drupal_training/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/dkorhov/drupal_training/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dkorhov/drupal_training/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/dkorhov/drupal_training/statuses/cee05ce359828961c30076d9a14df3b7740fe29e"}}}}
{"actor":{"display_login":"dprudnikov"}}