{"action":"created","comment":{"url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/pulls/comments/53573257","id":53573257,"diff_hunk":"@@ -254,23 +252,10 @@ public function validatePoll( $eid )\n \n     }\n \n-    public function getVotes($pid, $oid)\n-    {//TODO: what is this counting? Not the votes, but the options?","path":"partEZ/app/Http/Controllers/EventController.php","position":41,"original_position":41,"commit_id":"9a40c54dedbd9e8a6681a19e5ac9a95131e8f413","original_commit_id":"9a40c54dedbd9e8a6681a19e5ac9a95131e8f413","user":{"login":"maxewaschuk","id":11066464,"avatar_url":"https://avatars.githubusercontent.com/u/11066464?v=3","gravatar_id":"","url":"https://api.github.com/users/maxewaschuk","html_url":"https://github.com/maxewaschuk","followers_url":"https://api.github.com/users/maxewaschuk/followers","following_url":"https://api.github.com/users/maxewaschuk/following{/other_user}","gists_url":"https://api.github.com/users/maxewaschuk/gists{/gist_id}","starred_url":"https://api.github.com/users/maxewaschuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxewaschuk/subscriptions","organizations_url":"https://api.github.com/users/maxewaschuk/orgs","repos_url":"https://api.github.com/users/maxewaschuk/repos","events_url":"https://api.github.com/users/maxewaschuk/events{/privacy}","received_events_url":"https://api.github.com/users/maxewaschuk/received_events","type":"User","site_admin":false},"body":"Currently this function isn't being called anywhere. It's been moved to the poll options model so we can find it there when we need it.","created_at":"2016-02-21T21:01:29Z","updated_at":"2016-02-21T21:01:29Z","html_url":"https://github.com/umSoftEng2GrpE/partEZ/pull/43#discussion_r53573257","pull_request_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/pulls/comments/53573257"},"html":{"href":"https://github.com/umSoftEng2GrpE/partEZ/pull/43#discussion_r53573257"},"pull_request":{"href":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/pulls/43","id":60103350,"html_url":"https://github.com/umSoftEng2GrpE/partEZ/pull/43","diff_url":"https://github.com/umSoftEng2GrpE/partEZ/pull/43.diff","patch_url":"https://github.com/umSoftEng2GrpE/partEZ/pull/43.patch","issue_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/issues/43","number":43,"state":"open","locked":false,"title":"Controller refactoring","user":{"login":"maxewaschuk","id":11066464,"avatar_url":"https://avatars.githubusercontent.com/u/11066464?v=3","gravatar_id":"","url":"https://api.github.com/users/maxewaschuk","html_url":"https://github.com/maxewaschuk","followers_url":"https://api.github.com/users/maxewaschuk/followers","following_url":"https://api.github.com/users/maxewaschuk/following{/other_user}","gists_url":"https://api.github.com/users/maxewaschuk/gists{/gist_id}","starred_url":"https://api.github.com/users/maxewaschuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxewaschuk/subscriptions","organizations_url":"https://api.github.com/users/maxewaschuk/orgs","repos_url":"https://api.github.com/users/maxewaschuk/repos","events_url":"https://api.github.com/users/maxewaschuk/events{/privacy}","received_events_url":"https://api.github.com/users/maxewaschuk/received_events","type":"User","site_admin":false},"body":"Moved SQL out of controllers and into models.\r\nRemoved some dead code and todos.","created_at":"2016-02-21T20:49:42Z","updated_at":"2016-02-21T21:01:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"96cf3b65ee2ec095744c134b67008a616eef6695","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/pulls/43/commits","review_comments_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/pulls/43/comments","review_comment_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/pulls/comments{/number}","comments_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/issues/43/comments","statuses_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/statuses/9a40c54dedbd9e8a6681a19e5ac9a95131e8f413","head":{"label":"maxewaschuk:controller_refactoring","ref":"controller_refactoring","sha":"9a40c54dedbd9e8a6681a19e5ac9a95131e8f413","user":{"login":"maxewaschuk","id":11066464,"avatar_url":"https://avatars.githubusercontent.com/u/11066464?v=3","gravatar_id":"","url":"https://api.github.com/users/maxewaschuk","html_url":"https://github.com/maxewaschuk","followers_url":"https://api.github.com/users/maxewaschuk/followers","following_url":"https://api.github.com/users/maxewaschuk/following{/other_user}","gists_url":"https://api.github.com/users/maxewaschuk/gists{/gist_id}","starred_url":"https://api.github.com/users/maxewaschuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxewaschuk/subscriptions","organizations_url":"https://api.github.com/users/maxewaschuk/orgs","repos_url":"https://api.github.com/users/maxewaschuk/repos","events_url":"https://api.github.com/users/maxewaschuk/events{/privacy}","received_events_url":"https://api.github.com/users/maxewaschuk/received_events","type":"User","site_admin":false},"repo":{"id":49597491,"name":"partEZ","full_name":"maxewaschuk/partEZ","owner":{"login":"maxewaschuk","id":11066464,"avatar_url":"https://avatars.githubusercontent.com/u/11066464?v=3","gravatar_id":"","url":"https://api.github.com/users/maxewaschuk","html_url":"https://github.com/maxewaschuk","followers_url":"https://api.github.com/users/maxewaschuk/followers","following_url":"https://api.github.com/users/maxewaschuk/following{/other_user}","gists_url":"https://api.github.com/users/maxewaschuk/gists{/gist_id}","starred_url":"https://api.github.com/users/maxewaschuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxewaschuk/subscriptions","organizations_url":"https://api.github.com/users/maxewaschuk/orgs","repos_url":"https://api.github.com/users/maxewaschuk/repos","events_url":"https://api.github.com/users/maxewaschuk/events{/privacy}","received_events_url":"https://api.github.com/users/maxewaschuk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maxewaschuk/partEZ","description":"","fork":true,"url":"https://api.github.com/repos/maxewaschuk/partEZ","forks_url":"https://api.github.com/repos/maxewaschuk/partEZ/forks","keys_url":"https://api.github.com/repos/maxewaschuk/partEZ/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maxewaschuk/partEZ/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maxewaschuk/partEZ/teams","hooks_url":"https://api.github.com/repos/maxewaschuk/partEZ/hooks","issue_events_url":"https://api.github.com/repos/maxewaschuk/partEZ/issues/events{/number}","events_url":"https://api.github.com/repos/maxewaschuk/partEZ/events","assignees_url":"https://api.github.com/repos/maxewaschuk/partEZ/assignees{/user}","branches_url":"https://api.github.com/repos/maxewaschuk/partEZ/branches{/branch}","tags_url":"https://api.github.com/repos/maxewaschuk/partEZ/tags","blobs_url":"https://api.github.com/repos/maxewaschuk/partEZ/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maxewaschuk/partEZ/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maxewaschuk/partEZ/git/refs{/sha}","trees_url":"https://api.github.com/repos/maxewaschuk/partEZ/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maxewaschuk/partEZ/statuses/{sha}","languages_url":"https://api.github.com/repos/maxewaschuk/partEZ/languages","stargazers_url":"https://api.github.com/repos/maxewaschuk/partEZ/stargazers","contributors_url":"https://api.github.com/repos/maxewaschuk/partEZ/contributors","subscribers_url":"https://api.github.com/repos/maxewaschuk/partEZ/subscribers","subscription_url":"https://api.github.com/repos/maxewaschuk/partEZ/subscription","commits_url":"https://api.github.com/repos/maxewaschuk/partEZ/commits{/sha}","git_commits_url":"https://api.github.com/repos/maxewaschuk/partEZ/git/commits{/sha}","comments_url":"https://api.github.com/repos/maxewaschuk/partEZ/comments{/number}","issue_comment_url":"https://api.github.com/repos/maxewaschuk/partEZ/issues/comments{/number}","contents_url":"https://api.github.com/repos/maxewaschuk/partEZ/contents/{+path}","compare_url":"https://api.github.com/repos/maxewaschuk/partEZ/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maxewaschuk/partEZ/merges","archive_url":"https://api.github.com/repos/maxewaschuk/partEZ/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maxewaschuk/partEZ/downloads","issues_url":"https://api.github.com/repos/maxewaschuk/partEZ/issues{/number}","pulls_url":"https://api.github.com/repos/maxewaschuk/partEZ/pulls{/number}","milestones_url":"https://api.github.com/repos/maxewaschuk/partEZ/milestones{/number}","notifications_url":"https://api.github.com/repos/maxewaschuk/partEZ/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maxewaschuk/partEZ/labels{/name}","releases_url":"https://api.github.com/repos/maxewaschuk/partEZ/releases{/id}","deployments_url":"https://api.github.com/repos/maxewaschuk/partEZ/deployments","created_at":"2016-01-13T19:46:22Z","updated_at":"2016-01-25T16:39:16Z","pushed_at":"2016-02-21T20:40:12Z","git_url":"git://github.com/maxewaschuk/partEZ.git","ssh_url":"git@github.com:maxewaschuk/partEZ.git","clone_url":"https://github.com/maxewaschuk/partEZ.git","svn_url":"https://github.com/maxewaschuk/partEZ","homepage":null,"size":10028,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"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":"master"}},"base":{"label":"umSoftEng2GrpE:master","ref":"master","sha":"d7209d33e60443883954f2b0fce3463a857cdd39","user":{"login":"umSoftEng2GrpE","id":16690123,"avatar_url":"https://avatars.githubusercontent.com/u/16690123?v=3","gravatar_id":"","url":"https://api.github.com/users/umSoftEng2GrpE","html_url":"https://github.com/umSoftEng2GrpE","followers_url":"https://api.github.com/users/umSoftEng2GrpE/followers","following_url":"https://api.github.com/users/umSoftEng2GrpE/following{/other_user}","gists_url":"https://api.github.com/users/umSoftEng2GrpE/gists{/gist_id}","starred_url":"https://api.github.com/users/umSoftEng2GrpE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umSoftEng2GrpE/subscriptions","organizations_url":"https://api.github.com/users/umSoftEng2GrpE/orgs","repos_url":"https://api.github.com/users/umSoftEng2GrpE/repos","events_url":"https://api.github.com/users/umSoftEng2GrpE/events{/privacy}","received_events_url":"https://api.github.com/users/umSoftEng2GrpE/received_events","type":"User","site_admin":false},"repo":{"id":49597097,"name":"partEZ","full_name":"umSoftEng2GrpE/partEZ","owner":{"login":"umSoftEng2GrpE","id":16690123,"avatar_url":"https://avatars.githubusercontent.com/u/16690123?v=3","gravatar_id":"","url":"https://api.github.com/users/umSoftEng2GrpE","html_url":"https://github.com/umSoftEng2GrpE","followers_url":"https://api.github.com/users/umSoftEng2GrpE/followers","following_url":"https://api.github.com/users/umSoftEng2GrpE/following{/other_user}","gists_url":"https://api.github.com/users/umSoftEng2GrpE/gists{/gist_id}","starred_url":"https://api.github.com/users/umSoftEng2GrpE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umSoftEng2GrpE/subscriptions","organizations_url":"https://api.github.com/users/umSoftEng2GrpE/orgs","repos_url":"https://api.github.com/users/umSoftEng2GrpE/repos","events_url":"https://api.github.com/users/umSoftEng2GrpE/events{/privacy}","received_events_url":"https://api.github.com/users/umSoftEng2GrpE/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/umSoftEng2GrpE/partEZ","description":"","fork":false,"url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ","forks_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/forks","keys_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/keys{/key_id}","collaborators_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/teams","hooks_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/hooks","issue_events_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/issues/events{/number}","events_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/events","assignees_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/assignees{/user}","branches_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/branches{/branch}","tags_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/tags","blobs_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/git/refs{/sha}","trees_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/git/trees{/sha}","statuses_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/statuses/{sha}","languages_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/languages","stargazers_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/stargazers","contributors_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/contributors","subscribers_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/subscribers","subscription_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/subscription","commits_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/commits{/sha}","git_commits_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/git/commits{/sha}","comments_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/comments{/number}","issue_comment_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/issues/comments{/number}","contents_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/contents/{+path}","compare_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/compare/{base}...{head}","merges_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/merges","archive_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/downloads","issues_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/issues{/number}","pulls_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/pulls{/number}","milestones_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/milestones{/number}","notifications_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/labels{/name}","releases_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/releases{/id}","deployments_url":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/deployments","created_at":"2016-01-13T19:39:10Z","updated_at":"2016-01-23T22:16:04Z","pushed_at":"2016-02-21T20:49:42Z","git_url":"git://github.com/umSoftEng2GrpE/partEZ.git","ssh_url":"git@github.com:umSoftEng2GrpE/partEZ.git","clone_url":"https://github.com/umSoftEng2GrpE/partEZ.git","svn_url":"https://github.com/umSoftEng2GrpE/partEZ","homepage":null,"size":10044,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/pulls/43"},"html":{"href":"https://github.com/umSoftEng2GrpE/partEZ/pull/43"},"issue":{"href":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/issues/43"},"comments":{"href":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/umSoftEng2GrpE/partEZ/statuses/9a40c54dedbd9e8a6681a19e5ac9a95131e8f413"}}}}