{"action":"created","comment":{"url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/comments/124783156","pull_request_review_id":47103643,"id":124783156,"diff_hunk":"@@ -219,18 +239,22 @@ public static function getPersonsWithLoadByYear($isBudget, $isContract, $selecte\n     \t\t\t\t$i++;\n     \t\t\t}\n     \t\t}\n-    \t\tCApp::getApp()->cache->set($cacheKey, $personsWithLoad);\n-    \t\treturn CApp::getApp()->cache->get($cacheKey);\n+    \t\tif ($withoutCache) {\n+    \t\t\treturn $personsWithLoad;\n+    \t\t} else {\n+    \t\t\tCApp::getApp()->cache->set($cacheKey, $personsWithLoad);\n+    \t\t\treturn CApp::getApp()->cache->get($cacheKey);\n+    \t\t}\n     \t}\n     }\n     \n     /**\n      * Значения для общей суммы по типам нагрузки по преподавателю\n      * \n-     * @param $kadriId\n-     * @param $yearId\n-     * @param $isBudget\n-     * @param $isContract\n+     * @param int $kadriId","path":"_core/_services/CStudyLoadService.class.php","position":92,"original_position":92,"commit_id":"d233384fffa178df88ad731f425e08d6cf359f49","original_commit_id":"d233384fffa178df88ad731f425e08d6cf359f49","user":{"login":"aabarmin","id":965970,"avatar_url":"https://avatars3.githubusercontent.com/u/965970?v=3","gravatar_id":"","url":"https://api.github.com/users/aabarmin","html_url":"https://github.com/aabarmin","followers_url":"https://api.github.com/users/aabarmin/followers","following_url":"https://api.github.com/users/aabarmin/following{/other_user}","gists_url":"https://api.github.com/users/aabarmin/gists{/gist_id}","starred_url":"https://api.github.com/users/aabarmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aabarmin/subscriptions","organizations_url":"https://api.github.com/users/aabarmin/orgs","repos_url":"https://api.github.com/users/aabarmin/repos","events_url":"https://api.github.com/users/aabarmin/events{/privacy}","received_events_url":"https://api.github.com/users/aabarmin/received_events","type":"User","site_admin":false},"body":"Описание всех параметров","created_at":"2017-06-29T12:16:15Z","updated_at":"2017-06-29T12:18:17Z","html_url":"https://github.com/ASUPortal/ASUPortalPHP/pull/290#discussion_r124783156","pull_request_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/290","_links":{"self":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/comments/124783156"},"html":{"href":"https://github.com/ASUPortal/ASUPortalPHP/pull/290#discussion_r124783156"},"pull_request":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/290"}}},"pull_request":{"url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/290","id":128133879,"html_url":"https://github.com/ASUPortal/ASUPortalPHP/pull/290","diff_url":"https://github.com/ASUPortal/ASUPortalPHP/pull/290.diff","patch_url":"https://github.com/ASUPortal/ASUPortalPHP/pull/290.patch","issue_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/issues/290","number":290,"state":"open","locked":false,"title":"Дополнения к учебной нагрузке","user":{"login":"shamidanow","id":9052480,"avatar_url":"https://avatars1.githubusercontent.com/u/9052480?v=3","gravatar_id":"","url":"https://api.github.com/users/shamidanow","html_url":"https://github.com/shamidanow","followers_url":"https://api.github.com/users/shamidanow/followers","following_url":"https://api.github.com/users/shamidanow/following{/other_user}","gists_url":"https://api.github.com/users/shamidanow/gists{/gist_id}","starred_url":"https://api.github.com/users/shamidanow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamidanow/subscriptions","organizations_url":"https://api.github.com/users/shamidanow/orgs","repos_url":"https://api.github.com/users/shamidanow/repos","events_url":"https://api.github.com/users/shamidanow/events{/privacy}","received_events_url":"https://api.github.com/users/shamidanow/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-29T11:59:11Z","updated_at":"2017-06-29T12:18:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2efec6e21d9f188980fee86a288ba698d6abad34","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/290/commits","review_comments_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/290/comments","review_comment_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/issues/290/comments","statuses_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/statuses/d233384fffa178df88ad731f425e08d6cf359f49","head":{"label":"shamidanow:new_dev","ref":"new_dev","sha":"d233384fffa178df88ad731f425e08d6cf359f49","user":{"login":"shamidanow","id":9052480,"avatar_url":"https://avatars1.githubusercontent.com/u/9052480?v=3","gravatar_id":"","url":"https://api.github.com/users/shamidanow","html_url":"https://github.com/shamidanow","followers_url":"https://api.github.com/users/shamidanow/followers","following_url":"https://api.github.com/users/shamidanow/following{/other_user}","gists_url":"https://api.github.com/users/shamidanow/gists{/gist_id}","starred_url":"https://api.github.com/users/shamidanow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamidanow/subscriptions","organizations_url":"https://api.github.com/users/shamidanow/orgs","repos_url":"https://api.github.com/users/shamidanow/repos","events_url":"https://api.github.com/users/shamidanow/events{/privacy}","received_events_url":"https://api.github.com/users/shamidanow/received_events","type":"User","site_admin":false},"repo":{"id":25765758,"name":"ASUPortalPHP","full_name":"shamidanow/ASUPortalPHP","owner":{"login":"shamidanow","id":9052480,"avatar_url":"https://avatars1.githubusercontent.com/u/9052480?v=3","gravatar_id":"","url":"https://api.github.com/users/shamidanow","html_url":"https://github.com/shamidanow","followers_url":"https://api.github.com/users/shamidanow/followers","following_url":"https://api.github.com/users/shamidanow/following{/other_user}","gists_url":"https://api.github.com/users/shamidanow/gists{/gist_id}","starred_url":"https://api.github.com/users/shamidanow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamidanow/subscriptions","organizations_url":"https://api.github.com/users/shamidanow/orgs","repos_url":"https://api.github.com/users/shamidanow/repos","events_url":"https://api.github.com/users/shamidanow/events{/privacy}","received_events_url":"https://api.github.com/users/shamidanow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shamidanow/ASUPortalPHP","description":null,"fork":true,"url":"https://api.github.com/repos/shamidanow/ASUPortalPHP","forks_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/forks","keys_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/teams","hooks_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/hooks","issue_events_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/issues/events{/number}","events_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/events","assignees_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/assignees{/user}","branches_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/branches{/branch}","tags_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/tags","blobs_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/git/refs{/sha}","trees_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/statuses/{sha}","languages_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/languages","stargazers_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/stargazers","contributors_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/contributors","subscribers_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/subscribers","subscription_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/subscription","commits_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/commits{/sha}","git_commits_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/git/commits{/sha}","comments_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/comments{/number}","issue_comment_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/issues/comments{/number}","contents_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/contents/{+path}","compare_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/merges","archive_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/downloads","issues_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/issues{/number}","pulls_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/pulls{/number}","milestones_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/milestones{/number}","notifications_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/labels{/name}","releases_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/releases{/id}","deployments_url":"https://api.github.com/repos/shamidanow/ASUPortalPHP/deployments","created_at":"2014-10-26T09:43:08Z","updated_at":"2016-10-20T07:38:55Z","pushed_at":"2017-06-29T11:58:02Z","git_url":"git://github.com/shamidanow/ASUPortalPHP.git","ssh_url":"git@github.com:shamidanow/ASUPortalPHP.git","clone_url":"https://github.com/shamidanow/ASUPortalPHP.git","svn_url":"https://github.com/shamidanow/ASUPortalPHP","homepage":null,"size":118673,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"new_dev"}},"base":{"label":"ASUPortal:master","ref":"master","sha":"c3ff018faf957026999f8e632a180d2421af16c9","user":{"login":"ASUPortal","id":8296512,"avatar_url":"https://avatars2.githubusercontent.com/u/8296512?v=3","gravatar_id":"","url":"https://api.github.com/users/ASUPortal","html_url":"https://github.com/ASUPortal","followers_url":"https://api.github.com/users/ASUPortal/followers","following_url":"https://api.github.com/users/ASUPortal/following{/other_user}","gists_url":"https://api.github.com/users/ASUPortal/gists{/gist_id}","starred_url":"https://api.github.com/users/ASUPortal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ASUPortal/subscriptions","organizations_url":"https://api.github.com/users/ASUPortal/orgs","repos_url":"https://api.github.com/users/ASUPortal/repos","events_url":"https://api.github.com/users/ASUPortal/events{/privacy}","received_events_url":"https://api.github.com/users/ASUPortal/received_events","type":"User","site_admin":false},"repo":{"id":8646816,"name":"ASUPortalPHP","full_name":"ASUPortal/ASUPortalPHP","owner":{"login":"ASUPortal","id":8296512,"avatar_url":"https://avatars2.githubusercontent.com/u/8296512?v=3","gravatar_id":"","url":"https://api.github.com/users/ASUPortal","html_url":"https://github.com/ASUPortal","followers_url":"https://api.github.com/users/ASUPortal/followers","following_url":"https://api.github.com/users/ASUPortal/following{/other_user}","gists_url":"https://api.github.com/users/ASUPortal/gists{/gist_id}","starred_url":"https://api.github.com/users/ASUPortal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ASUPortal/subscriptions","organizations_url":"https://api.github.com/users/ASUPortal/orgs","repos_url":"https://api.github.com/users/ASUPortal/repos","events_url":"https://api.github.com/users/ASUPortal/events{/privacy}","received_events_url":"https://api.github.com/users/ASUPortal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ASUPortal/ASUPortalPHP","description":null,"fork":false,"url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP","forks_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/forks","keys_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/teams","hooks_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/hooks","issue_events_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/issues/events{/number}","events_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/events","assignees_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/assignees{/user}","branches_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/branches{/branch}","tags_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/tags","blobs_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/git/refs{/sha}","trees_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/statuses/{sha}","languages_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/languages","stargazers_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/stargazers","contributors_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/contributors","subscribers_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/subscribers","subscription_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/subscription","commits_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/commits{/sha}","git_commits_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/git/commits{/sha}","comments_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/comments{/number}","issue_comment_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/issues/comments{/number}","contents_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/contents/{+path}","compare_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/merges","archive_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/downloads","issues_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/issues{/number}","pulls_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls{/number}","milestones_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/milestones{/number}","notifications_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/labels{/name}","releases_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/releases{/id}","deployments_url":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/deployments","created_at":"2013-03-08T08:26:07Z","updated_at":"2016-10-23T17:11:03Z","pushed_at":"2017-06-29T11:59:11Z","git_url":"git://github.com/ASUPortal/ASUPortalPHP.git","ssh_url":"git@github.com:ASUPortal/ASUPortalPHP.git","clone_url":"https://github.com/ASUPortal/ASUPortalPHP.git","svn_url":"https://github.com/ASUPortal/ASUPortalPHP","homepage":"","size":118627,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":11,"forks":9,"open_issues":11,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/290"},"html":{"href":"https://github.com/ASUPortal/ASUPortalPHP/pull/290"},"issue":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/issues/290"},"comments":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/issues/290/comments"},"review_comments":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/290/comments"},"review_comment":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/pulls/290/commits"},"statuses":{"href":"https://api.github.com/repos/ASUPortal/ASUPortalPHP/statuses/d233384fffa178df88ad731f425e08d6cf359f49"}}}}
{"actor":{"display_login":"aabarmin"}}