GitHub PullRequestReviewCommentEvent at 2014-07-02 13:57:47
Repository: novozymes
Actor: janmeier
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/henrikthorn/novozymes/pulls/comments/14457826","id":14457826,"diff_hunk":"@@ -10,82 +10,78 @@\n $PAGE->set_context(context_system::instance());\r\n \r\n $courseid = optional_param(\"courseid\", 0,PARAM_INT);\r\n-$datecourseid = optional_param(\"datecourseid\",0, PARAM_INT);\r\n $userid = optional_param(\"userid\", 0,PARAM_INT);\r\n-$wait = optional_param(\"wait\", 0,PARAM_INT);\r\n-$courseid = ($datecourseid != 0) ? $datecourseid : $courseid;\r\n-$datecourseid = 0;\r\n $enrol = new enrol_manual_pluginITK();\r\n \r\n-if (($courseid != 0 && $userid != 0) || ($datecourseid !=0 && $userid != 0)){\r\n-\tif ($datecourseid != 0) {\r\n-\t\t$waitlist = new stdClass();\r\n-\t\t$waitlist->userid = $userid;\r\n-\t\t$waitlist->courseid = $datecourseid;\r\n-\t\t$waitlist->timestart = 0;\r\n-\t\t$waitlist->timeend = 0;\r\n-\t\t$waitlist->timecreated = time();\r\n-\t\t$waitlist->nodates = 1;\r","path":"enrol_into_course.php","position":19,"original_position":19,"commit_id":"0e012caac6ea3e4fb6597063028cea1eb9eb32d0","original_commit_id":"0e012caac6ea3e4fb6597063028cea1eb9eb32d0","user":{"login":"janmeier","id":1210224,"avatar_url":"https://avatars.githubusercontent.com/u/1210224?","gravatar_id":"db96d6d24b9e032d157d6d3054101aa7","url":"https://api.github.com/users/janmeier","html_url":"https://github.com/janmeier","followers_url":"https://api.github.com/users/janmeier/followers","following_url":"https://api.github.com/users/janmeier/following{/other_user}","gists_url":"https://api.github.com/users/janmeier/gists{/gist_id}","starred_url":"https://api.github.com/users/janmeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janmeier/subscriptions","organizations_url":"https://api.github.com/users/janmeier/orgs","repos_url":"https://api.github.com/users/janmeier/repos","events_url":"https://api.github.com/users/janmeier/events{/privacy}","received_events_url":"https://api.github.com/users/janmeier/received_events","type":"User","site_admin":false},"body":"Problemet var at vi landede her og bare returnerede her fra uden at gøre noget","created_at":"2014-07-02T13:57:47Z","updated_at":"2014-07-02T13:57:47Z","html_url":"https://github.com/henrikthorn/novozymes/pull/4#discussion_r14457826","pull_request_url":"https://api.github.com/repos/henrikthorn/novozymes/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/henrikthorn/novozymes/pulls/comments/14457826"},"html":{"href":"https://github.com/henrikthorn/novozymes/pull/4#discussion_r14457826"},"pull_request":{"href":"https://api.github.com/repos/henrikthorn/novozymes/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/henrikthorn/novozymes/pulls/4","id":17887152,"html_url":"https://github.com/henrikthorn/novozymes/pull/4","diff_url":"https://github.com/henrikthorn/novozymes/pull/4.diff","patch_url":"https://github.com/henrikthorn/novozymes/pull/4.patch","issue_url":"https://api.github.com/repos/henrikthorn/novozymes/issues/4","number":4,"state":"closed","title":"Fix the single enrolment button","user":{"login":"janmeier","id":1210224,"avatar_url":"https://avatars.githubusercontent.com/u/1210224?","gravatar_id":"db96d6d24b9e032d157d6d3054101aa7","url":"https://api.github.com/users/janmeier","html_url":"https://github.com/janmeier","followers_url":"https://api.github.com/users/janmeier/followers","following_url":"https://api.github.com/users/janmeier/following{/other_user}","gists_url":"https://api.github.com/users/janmeier/gists{/gist_id}","starred_url":"https://api.github.com/users/janmeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janmeier/subscriptions","organizations_url":"https://api.github.com/users/janmeier/orgs","repos_url":"https://api.github.com/users/janmeier/repos","events_url":"https://api.github.com/users/janmeier/events{/privacy}","received_events_url":"https://api.github.com/users/janmeier/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-07-02T13:56:59Z","updated_at":"2014-07-02T13:57:47Z","closed_at":"2014-07-02T13:57:32Z","merged_at":"2014-07-02T13:57:32Z","merge_commit_sha":"4e92c6451f0add39bd311971b237932a2c2b19f6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/henrikthorn/novozymes/pulls/4/commits","review_comments_url":"https://api.github.com/repos/henrikthorn/novozymes/pulls/4/comments","review_comment_url":"https://api.github.com/repos/henrikthorn/novozymes/pulls/comments/{number}","comments_url":"https://api.github.com/repos/henrikthorn/novozymes/issues/4/comments","statuses_url":"https://api.github.com/repos/henrikthorn/novozymes/statuses/0e012caac6ea3e4fb6597063028cea1eb9eb32d0","head":{"label":"janmeier:waitingList","ref":"waitingList","sha":"0e012caac6ea3e4fb6597063028cea1eb9eb32d0","user":{"login":"janmeier","id":1210224,"avatar_url":"https://avatars.githubusercontent.com/u/1210224?","gravatar_id":"db96d6d24b9e032d157d6d3054101aa7","url":"https://api.github.com/users/janmeier","html_url":"https://github.com/janmeier","followers_url":"https://api.github.com/users/janmeier/followers","following_url":"https://api.github.com/users/janmeier/following{/other_user}","gists_url":"https://api.github.com/users/janmeier/gists{/gist_id}","starred_url":"https://api.github.com/users/janmeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janmeier/subscriptions","organizations_url":"https://api.github.com/users/janmeier/orgs","repos_url":"https://api.github.com/users/janmeier/repos","events_url":"https://api.github.com/users/janmeier/events{/privacy}","received_events_url":"https://api.github.com/users/janmeier/received_events","type":"User","site_admin":false},"repo":{"id":20761177,"name":"novozymes","full_name":"janmeier/novozymes","owner":{"login":"janmeier","id":1210224,"avatar_url":"https://avatars.githubusercontent.com/u/1210224?","gravatar_id":"db96d6d24b9e032d157d6d3054101aa7","url":"https://api.github.com/users/janmeier","html_url":"https://github.com/janmeier","followers_url":"https://api.github.com/users/janmeier/followers","following_url":"https://api.github.com/users/janmeier/following{/other_user}","gists_url":"https://api.github.com/users/janmeier/gists{/gist_id}","starred_url":"https://api.github.com/users/janmeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janmeier/subscriptions","organizations_url":"https://api.github.com/users/janmeier/orgs","repos_url":"https://api.github.com/users/janmeier/repos","events_url":"https://api.github.com/users/janmeier/events{/privacy}","received_events_url":"https://api.github.com/users/janmeier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/janmeier/novozymes","description":"","fork":true,"url":"https://api.github.com/repos/janmeier/novozymes","forks_url":"https://api.github.com/repos/janmeier/novozymes/forks","keys_url":"https://api.github.com/repos/janmeier/novozymes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/janmeier/novozymes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/janmeier/novozymes/teams","hooks_url":"https://api.github.com/repos/janmeier/novozymes/hooks","issue_events_url":"https://api.github.com/repos/janmeier/novozymes/issues/events{/number}","events_url":"https://api.github.com/repos/janmeier/novozymes/events","assignees_url":"https://api.github.com/repos/janmeier/novozymes/assignees{/user}","branches_url":"https://api.github.com/repos/janmeier/novozymes/branches{/branch}","tags_url":"https://api.github.com/repos/janmeier/novozymes/tags","blobs_url":"https://api.github.com/repos/janmeier/novozymes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/janmeier/novozymes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/janmeier/novozymes/git/refs{/sha}","trees_url":"https://api.github.com/repos/janmeier/novozymes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/janmeier/novozymes/statuses/{sha}","languages_url":"https://api.github.com/repos/janmeier/novozymes/languages","stargazers_url":"https://api.github.com/repos/janmeier/novozymes/stargazers","contributors_url":"https://api.github.com/repos/janmeier/novozymes/contributors","subscribers_url":"https://api.github.com/repos/janmeier/novozymes/subscribers","subscription_url":"https://api.github.com/repos/janmeier/novozymes/subscription","commits_url":"https://api.github.com/repos/janmeier/novozymes/commits{/sha}","git_commits_url":"https://api.github.com/repos/janmeier/novozymes/git/commits{/sha}","comments_url":"https://api.github.com/repos/janmeier/novozymes/comments{/number}","issue_comment_url":"https://api.github.com/repos/janmeier/novozymes/issues/comments/{number}","contents_url":"https://api.github.com/repos/janmeier/novozymes/contents/{+path}","compare_url":"https://api.github.com/repos/janmeier/novozymes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/janmeier/novozymes/merges","archive_url":"https://api.github.com/repos/janmeier/novozymes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/janmeier/novozymes/downloads","issues_url":"https://api.github.com/repos/janmeier/novozymes/issues{/number}","pulls_url":"https://api.github.com/repos/janmeier/novozymes/pulls{/number}","milestones_url":"https://api.github.com/repos/janmeier/novozymes/milestones{/number}","notifications_url":"https://api.github.com/repos/janmeier/novozymes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/janmeier/novozymes/labels{/name}","releases_url":"https://api.github.com/repos/janmeier/novozymes/releases{/id}","created_at":"2014-06-12T09:09:20Z","updated_at":"2014-06-27T10:56:48Z","pushed_at":"2014-07-02T13:56:36Z","git_url":"git://github.com/janmeier/novozymes.git","ssh_url":"git@github.com:janmeier/novozymes.git","clone_url":"https://github.com/janmeier/novozymes.git","svn_url":"https://github.com/janmeier/novozymes","homepage":null,"size":1108,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"henrikthorn:master","ref":"master","sha":"a8bab915cfc4572d7b1fe612ceb6af21f91ef846","user":{"login":"henrikthorn","id":756842,"avatar_url":"https://avatars.githubusercontent.com/u/756842?","gravatar_id":"8407c518572888ad0d3274eecc9f9797","url":"https://api.github.com/users/henrikthorn","html_url":"https://github.com/henrikthorn","followers_url":"https://api.github.com/users/henrikthorn/followers","following_url":"https://api.github.com/users/henrikthorn/following{/other_user}","gists_url":"https://api.github.com/users/henrikthorn/gists{/gist_id}","starred_url":"https://api.github.com/users/henrikthorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrikthorn/subscriptions","organizations_url":"https://api.github.com/users/henrikthorn/orgs","repos_url":"https://api.github.com/users/henrikthorn/repos","events_url":"https://api.github.com/users/henrikthorn/events{/privacy}","received_events_url":"https://api.github.com/users/henrikthorn/received_events","type":"User","site_admin":false},"repo":{"id":19951459,"name":"novozymes","full_name":"henrikthorn/novozymes","owner":{"login":"henrikthorn","id":756842,"avatar_url":"https://avatars.githubusercontent.com/u/756842?","gravatar_id":"8407c518572888ad0d3274eecc9f9797","url":"https://api.github.com/users/henrikthorn","html_url":"https://github.com/henrikthorn","followers_url":"https://api.github.com/users/henrikthorn/followers","following_url":"https://api.github.com/users/henrikthorn/following{/other_user}","gists_url":"https://api.github.com/users/henrikthorn/gists{/gist_id}","starred_url":"https://api.github.com/users/henrikthorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrikthorn/subscriptions","organizations_url":"https://api.github.com/users/henrikthorn/orgs","repos_url":"https://api.github.com/users/henrikthorn/repos","events_url":"https://api.github.com/users/henrikthorn/events{/privacy}","received_events_url":"https://api.github.com/users/henrikthorn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/henrikthorn/novozymes","description":"","fork":false,"url":"https://api.github.com/repos/henrikthorn/novozymes","forks_url":"https://api.github.com/repos/henrikthorn/novozymes/forks","keys_url":"https://api.github.com/repos/henrikthorn/novozymes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/henrikthorn/novozymes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/henrikthorn/novozymes/teams","hooks_url":"https://api.github.com/repos/henrikthorn/novozymes/hooks","issue_events_url":"https://api.github.com/repos/henrikthorn/novozymes/issues/events{/number}","events_url":"https://api.github.com/repos/henrikthorn/novozymes/events","assignees_url":"https://api.github.com/repos/henrikthorn/novozymes/assignees{/user}","branches_url":"https://api.github.com/repos/henrikthorn/novozymes/branches{/branch}","tags_url":"https://api.github.com/repos/henrikthorn/novozymes/tags","blobs_url":"https://api.github.com/repos/henrikthorn/novozymes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/henrikthorn/novozymes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/henrikthorn/novozymes/git/refs{/sha}","trees_url":"https://api.github.com/repos/henrikthorn/novozymes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/henrikthorn/novozymes/statuses/{sha}","languages_url":"https://api.github.com/repos/henrikthorn/novozymes/languages","stargazers_url":"https://api.github.com/repos/henrikthorn/novozymes/stargazers","contributors_url":"https://api.github.com/repos/henrikthorn/novozymes/contributors","subscribers_url":"https://api.github.com/repos/henrikthorn/novozymes/subscribers","subscription_url":"https://api.github.com/repos/henrikthorn/novozymes/subscription","commits_url":"https://api.github.com/repos/henrikthorn/novozymes/commits{/sha}","git_commits_url":"https://api.github.com/repos/henrikthorn/novozymes/git/commits{/sha}","comments_url":"https://api.github.com/repos/henrikthorn/novozymes/comments{/number}","issue_comment_url":"https://api.github.com/repos/henrikthorn/novozymes/issues/comments/{number}","contents_url":"https://api.github.com/repos/henrikthorn/novozymes/contents/{+path}","compare_url":"https://api.github.com/repos/henrikthorn/novozymes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/henrikthorn/novozymes/merges","archive_url":"https://api.github.com/repos/henrikthorn/novozymes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/henrikthorn/novozymes/downloads","issues_url":"https://api.github.com/repos/henrikthorn/novozymes/issues{/number}","pulls_url":"https://api.github.com/repos/henrikthorn/novozymes/pulls{/number}","milestones_url":"https://api.github.com/repos/henrikthorn/novozymes/milestones{/number}","notifications_url":"https://api.github.com/repos/henrikthorn/novozymes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/henrikthorn/novozymes/labels{/name}","releases_url":"https://api.github.com/repos/henrikthorn/novozymes/releases{/id}","created_at":"2014-05-19T17:42:05Z","updated_at":"2014-06-25T13:37:39Z","pushed_at":"2014-07-02T13:57:32Z","git_url":"git://github.com/henrikthorn/novozymes.git","ssh_url":"git@github.com:henrikthorn/novozymes.git","clone_url":"https://github.com/henrikthorn/novozymes.git","svn_url":"https://github.com/henrikthorn/novozymes","homepage":null,"size":1253,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/henrikthorn/novozymes/pulls/4"},"html":{"href":"https://github.com/henrikthorn/novozymes/pull/4"},"issue":{"href":"https://api.github.com/repos/henrikthorn/novozymes/issues/4"},"comments":{"href":"https://api.github.com/repos/henrikthorn/novozymes/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/henrikthorn/novozymes/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/henrikthorn/novozymes/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/henrikthorn/novozymes/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/henrikthorn/novozymes/statuses/0e012caac6ea3e4fb6597063028cea1eb9eb32d0"}}}}