{"action":"created","comment":{"url":"https://api.github.com/repos/talis/aspire-moodle-integration/pulls/comments/63196091","id":63196091,"diff_hunk":"@@ -1,9 +1,25 @@\n <?php\n defined('MOODLE_INTERNAL') || die();\n+global $CFG;\n \n-$module->version   = 2015112400;\n-$module->requires  = 2012062507; // See http://docs.moodle.org/dev/Moodle_Versions\n-$module->cron      = 0;\n-$module->component = 'mod_aspirelists';\n-$module->maturity  = MATURITY_ALPHA;\n-$module->release   = '.0001';\n+if (!isset($plugin)) {\n+    // Avoid warning message in M2.5 and below.\n+    $plugin = new stdClass();\n+}\n+\n+$plugin->version   = 2016051100; // Version for this plugin - based on the date and then an increment number\n+$plugin->requires  = 2012062507; // See http://docs.moodle.org/dev/Moodle_Versions\n+$plugin->cron      = 0;\n+$plugin->component = 'mod_aspirelists';\n+$plugin->maturity  = MATURITY_ALPHA;","path":"2.x-activity-module/mod/aspirelists/version.php","position":20,"original_position":20,"commit_id":"a17acfef33778ccf397cd4c063e66057ca41ca2e","original_commit_id":"a17acfef33778ccf397cd4c063e66057ca41ca2e","user":{"login":"rsinger","id":72548,"avatar_url":"https://avatars.githubusercontent.com/u/72548?v=3","gravatar_id":"","url":"https://api.github.com/users/rsinger","html_url":"https://github.com/rsinger","followers_url":"https://api.github.com/users/rsinger/followers","following_url":"https://api.github.com/users/rsinger/following{/other_user}","gists_url":"https://api.github.com/users/rsinger/gists{/gist_id}","starred_url":"https://api.github.com/users/rsinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsinger/subscriptions","organizations_url":"https://api.github.com/users/rsinger/orgs","repos_url":"https://api.github.com/users/rsinger/repos","events_url":"https://api.github.com/users/rsinger/events{/privacy}","received_events_url":"https://api.github.com/users/rsinger/received_events","type":"User","site_admin":false},"body":"Surely we can claim it's BETA at this point, can't we? ;)","created_at":"2016-05-13T14:50:36Z","updated_at":"2016-05-13T14:50:36Z","html_url":"https://github.com/talis/aspire-moodle-integration/pull/14#discussion_r63196091","pull_request_url":"https://api.github.com/repos/talis/aspire-moodle-integration/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/talis/aspire-moodle-integration/pulls/comments/63196091"},"html":{"href":"https://github.com/talis/aspire-moodle-integration/pull/14#discussion_r63196091"},"pull_request":{"href":"https://api.github.com/repos/talis/aspire-moodle-integration/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/talis/aspire-moodle-integration/pulls/14","id":69750505,"html_url":"https://github.com/talis/aspire-moodle-integration/pull/14","diff_url":"https://github.com/talis/aspire-moodle-integration/pull/14.diff","patch_url":"https://github.com/talis/aspire-moodle-integration/pull/14.patch","issue_url":"https://api.github.com/repos/talis/aspire-moodle-integration/issues/14","number":14,"state":"open","locked":false,"title":"80% - Make plugins compatible with Moodle 3","user":{"login":"lordtatty","id":4324985,"avatar_url":"https://avatars.githubusercontent.com/u/4324985?v=3","gravatar_id":"","url":"https://api.github.com/users/lordtatty","html_url":"https://github.com/lordtatty","followers_url":"https://api.github.com/users/lordtatty/followers","following_url":"https://api.github.com/users/lordtatty/following{/other_user}","gists_url":"https://api.github.com/users/lordtatty/gists{/gist_id}","starred_url":"https://api.github.com/users/lordtatty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordtatty/subscriptions","organizations_url":"https://api.github.com/users/lordtatty/orgs","repos_url":"https://api.github.com/users/lordtatty/repos","events_url":"https://api.github.com/users/lordtatty/events{/privacy}","received_events_url":"https://api.github.com/users/lordtatty/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-11T22:07:24Z","updated_at":"2016-05-13T14:50:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82842141bb31fb4b92cfa641ba4b58efc9e73f9f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/talis/aspire-moodle-integration/pulls/14/commits","review_comments_url":"https://api.github.com/repos/talis/aspire-moodle-integration/pulls/14/comments","review_comment_url":"https://api.github.com/repos/talis/aspire-moodle-integration/pulls/comments{/number}","comments_url":"https://api.github.com/repos/talis/aspire-moodle-integration/issues/14/comments","statuses_url":"https://api.github.com/repos/talis/aspire-moodle-integration/statuses/a17acfef33778ccf397cd4c063e66057ca41ca2e","head":{"label":"talis:TENT-1785-AddMoodle3CompatibilityToRLPlugins","ref":"TENT-1785-AddMoodle3CompatibilityToRLPlugins","sha":"a17acfef33778ccf397cd4c063e66057ca41ca2e","user":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"repo":{"id":5701799,"name":"aspire-moodle-integration","full_name":"talis/aspire-moodle-integration","owner":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/talis/aspire-moodle-integration","description":"Talis Aspire Reading Lists and Moodle VLE integration","fork":false,"url":"https://api.github.com/repos/talis/aspire-moodle-integration","forks_url":"https://api.github.com/repos/talis/aspire-moodle-integration/forks","keys_url":"https://api.github.com/repos/talis/aspire-moodle-integration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/talis/aspire-moodle-integration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/talis/aspire-moodle-integration/teams","hooks_url":"https://api.github.com/repos/talis/aspire-moodle-integration/hooks","issue_events_url":"https://api.github.com/repos/talis/aspire-moodle-integration/issues/events{/number}","events_url":"https://api.github.com/repos/talis/aspire-moodle-integration/events","assignees_url":"https://api.github.com/repos/talis/aspire-moodle-integration/assignees{/user}","branches_url":"https://api.github.com/repos/talis/aspire-moodle-integration/branches{/branch}","tags_url":"https://api.github.com/repos/talis/aspire-moodle-integration/tags","blobs_url":"https://api.github.com/repos/talis/aspire-moodle-integration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/talis/aspire-moodle-integration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/talis/aspire-moodle-integration/git/refs{/sha}","trees_url":"https://api.github.com/repos/talis/aspire-moodle-integration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/talis/aspire-moodle-integration/statuses/{sha}","languages_url":"https://api.github.com/repos/talis/aspire-moodle-integration/languages","stargazers_url":"https://api.github.com/repos/talis/aspire-moodle-integration/stargazers","contributors_url":"https://api.github.com/repos/talis/aspire-moodle-integration/contributors","subscribers_url":"https://api.github.com/repos/talis/aspire-moodle-integration/subscribers","subscription_url":"https://api.github.com/repos/talis/aspire-moodle-integration/subscription","commits_url":"https://api.github.com/repos/talis/aspire-moodle-integration/commits{/sha}","git_commits_url":"https://api.github.com/repos/talis/aspire-moodle-integration/git/commits{/sha}","comments_url":"https://api.github.com/repos/talis/aspire-moodle-integration/comments{/number}","issue_comment_url":"https://api.github.com/repos/talis/aspire-moodle-integration/issues/comments{/number}","contents_url":"https://api.github.com/repos/talis/aspire-moodle-integration/contents/{+path}","compare_url":"https://api.github.com/repos/talis/aspire-moodle-integration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/talis/aspire-moodle-integration/merges","archive_url":"https://api.github.com/repos/talis/aspire-moodle-integration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/talis/aspire-moodle-integration/downloads","issues_url":"https://api.github.com/repos/talis/aspire-moodle-integration/issues{/number}","pulls_url":"https://api.github.com/repos/talis/aspire-moodle-integration/pulls{/number}","milestones_url":"https://api.github.com/repos/talis/aspire-moodle-integration/milestones{/number}","notifications_url":"https://api.github.com/repos/talis/aspire-moodle-integration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/talis/aspire-moodle-integration/labels{/name}","releases_url":"https://api.github.com/repos/talis/aspire-moodle-integration/releases{/id}","deployments_url":"https://api.github.com/repos/talis/aspire-moodle-integration/deployments","created_at":"2012-09-06T12:24:40Z","updated_at":"2016-02-23T14:56:43Z","pushed_at":"2016-05-11T23:25:25Z","git_url":"git://github.com/talis/aspire-moodle-integration.git","ssh_url":"git@github.com:talis/aspire-moodle-integration.git","clone_url":"https://github.com/talis/aspire-moodle-integration.git","svn_url":"https://github.com/talis/aspire-moodle-integration","homepage":"","size":131,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":8,"forks":2,"open_issues":8,"watchers":1,"default_branch":"master"}},"base":{"label":"talis:master","ref":"master","sha":"90a921167a879d2fd39d6fb1565cdcd377a7ee48","user":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"repo":{"id":5701799,"name":"aspire-moodle-integration","full_name":"talis/aspire-moodle-integration","owner":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/talis/aspire-moodle-integration","description":"Talis Aspire Reading Lists and Moodle VLE integration","fork":false,"url":"https://api.github.com/repos/talis/aspire-moodle-integration","forks_url":"https://api.github.com/repos/talis/aspire-moodle-integration/forks","keys_url":"https://api.github.com/repos/talis/aspire-moodle-integration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/talis/aspire-moodle-integration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/talis/aspire-moodle-integration/teams","hooks_url":"https://api.github.com/repos/talis/aspire-moodle-integration/hooks","issue_events_url":"https://api.github.com/repos/talis/aspire-moodle-integration/issues/events{/number}","events_url":"https://api.github.com/repos/talis/aspire-moodle-integration/events","assignees_url":"https://api.github.com/repos/talis/aspire-moodle-integration/assignees{/user}","branches_url":"https://api.github.com/repos/talis/aspire-moodle-integration/branches{/branch}","tags_url":"https://api.github.com/repos/talis/aspire-moodle-integration/tags","blobs_url":"https://api.github.com/repos/talis/aspire-moodle-integration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/talis/aspire-moodle-integration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/talis/aspire-moodle-integration/git/refs{/sha}","trees_url":"https://api.github.com/repos/talis/aspire-moodle-integration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/talis/aspire-moodle-integration/statuses/{sha}","languages_url":"https://api.github.com/repos/talis/aspire-moodle-integration/languages","stargazers_url":"https://api.github.com/repos/talis/aspire-moodle-integration/stargazers","contributors_url":"https://api.github.com/repos/talis/aspire-moodle-integration/contributors","subscribers_url":"https://api.github.com/repos/talis/aspire-moodle-integration/subscribers","subscription_url":"https://api.github.com/repos/talis/aspire-moodle-integration/subscription","commits_url":"https://api.github.com/repos/talis/aspire-moodle-integration/commits{/sha}","git_commits_url":"https://api.github.com/repos/talis/aspire-moodle-integration/git/commits{/sha}","comments_url":"https://api.github.com/repos/talis/aspire-moodle-integration/comments{/number}","issue_comment_url":"https://api.github.com/repos/talis/aspire-moodle-integration/issues/comments{/number}","contents_url":"https://api.github.com/repos/talis/aspire-moodle-integration/contents/{+path}","compare_url":"https://api.github.com/repos/talis/aspire-moodle-integration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/talis/aspire-moodle-integration/merges","archive_url":"https://api.github.com/repos/talis/aspire-moodle-integration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/talis/aspire-moodle-integration/downloads","issues_url":"https://api.github.com/repos/talis/aspire-moodle-integration/issues{/number}","pulls_url":"https://api.github.com/repos/talis/aspire-moodle-integration/pulls{/number}","milestones_url":"https://api.github.com/repos/talis/aspire-moodle-integration/milestones{/number}","notifications_url":"https://api.github.com/repos/talis/aspire-moodle-integration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/talis/aspire-moodle-integration/labels{/name}","releases_url":"https://api.github.com/repos/talis/aspire-moodle-integration/releases{/id}","deployments_url":"https://api.github.com/repos/talis/aspire-moodle-integration/deployments","created_at":"2012-09-06T12:24:40Z","updated_at":"2016-02-23T14:56:43Z","pushed_at":"2016-05-11T23:25:25Z","git_url":"git://github.com/talis/aspire-moodle-integration.git","ssh_url":"git@github.com:talis/aspire-moodle-integration.git","clone_url":"https://github.com/talis/aspire-moodle-integration.git","svn_url":"https://github.com/talis/aspire-moodle-integration","homepage":"","size":131,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":8,"forks":2,"open_issues":8,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/talis/aspire-moodle-integration/pulls/14"},"html":{"href":"https://github.com/talis/aspire-moodle-integration/pull/14"},"issue":{"href":"https://api.github.com/repos/talis/aspire-moodle-integration/issues/14"},"comments":{"href":"https://api.github.com/repos/talis/aspire-moodle-integration/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/talis/aspire-moodle-integration/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/talis/aspire-moodle-integration/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/talis/aspire-moodle-integration/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/talis/aspire-moodle-integration/statuses/a17acfef33778ccf397cd4c063e66057ca41ca2e"}}}}