{"action":"created","comment":{"url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/pulls/comments/168578860","pull_request_review_id":96971047,"id":168578860,"diff_hunk":"@@ -1455,7 +1475,7 @@ private static function getEnabledModuleVersionsForProject($pid)\n \n \tprivate static function shouldExcludeModule($prefix, $version)\n \t{\n-\t\tif(strpos($_SERVER['REQUEST_URI'], '/manager/ajax/enable-module.php') !== false && $prefix == $_POST['prefix']){\n+\t\tif (strpos($_SERVER['REQUEST_URI'], '/manager/ajax/enable-module.php') !== false && $prefix == $_POST['prefix'] && $_POST['version'] != $version) {","path":"classes/ExternalModules.php","position":null,"original_position":64,"commit_id":"ccf39cd17f9146991a4cda6b3d7c1299c9a16eac","original_commit_id":"c6b066a08e51b939b2784ba17b3489a00aad32fb","user":{"login":"mmcev106","id":2627854,"avatar_url":"https://avatars2.githubusercontent.com/u/2627854?v=4","gravatar_id":"","url":"https://api.github.com/users/mmcev106","html_url":"https://github.com/mmcev106","followers_url":"https://api.github.com/users/mmcev106/followers","following_url":"https://api.github.com/users/mmcev106/following{/other_user}","gists_url":"https://api.github.com/users/mmcev106/gists{/gist_id}","starred_url":"https://api.github.com/users/mmcev106/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmcev106/subscriptions","organizations_url":"https://api.github.com/users/mmcev106/orgs","repos_url":"https://api.github.com/users/mmcev106/repos","events_url":"https://api.github.com/users/mmcev106/events{/privacy}","received_events_url":"https://api.github.com/users/mmcev106/received_events","type":"User","site_admin":false},"body":"On second thought, it doesn't seem like this class loading issue would be limited to that composer class...  I might have to do more testing around this case.","created_at":"2018-02-15T19:14:30Z","updated_at":"2018-02-15T19:14:30Z","html_url":"https://github.com/vanderbilt/redcap-external-modules/pull/74#discussion_r168578860","pull_request_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/pulls/74","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/vanderbilt/redcap-external-modules/pulls/comments/168578860"},"html":{"href":"https://github.com/vanderbilt/redcap-external-modules/pull/74#discussion_r168578860"},"pull_request":{"href":"https://api.github.com/repos/vanderbilt/redcap-external-modules/pulls/74"}},"in_reply_to_id":167943889},"pull_request":{"url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/pulls/74","id":158991420,"html_url":"https://github.com/vanderbilt/redcap-external-modules/pull/74","diff_url":"https://github.com/vanderbilt/redcap-external-modules/pull/74.diff","patch_url":"https://github.com/vanderbilt/redcap-external-modules/pull/74.patch","issue_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/issues/74","number":74,"state":"open","locked":false,"title":"Adding extra hooks to be triggered on external modules management operations","user":{"login":"tbembersimeao","id":29384017,"avatar_url":"https://avatars2.githubusercontent.com/u/29384017?v=4","gravatar_id":"","url":"https://api.github.com/users/tbembersimeao","html_url":"https://github.com/tbembersimeao","followers_url":"https://api.github.com/users/tbembersimeao/followers","following_url":"https://api.github.com/users/tbembersimeao/following{/other_user}","gists_url":"https://api.github.com/users/tbembersimeao/gists{/gist_id}","starred_url":"https://api.github.com/users/tbembersimeao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbembersimeao/subscriptions","organizations_url":"https://api.github.com/users/tbembersimeao/orgs","repos_url":"https://api.github.com/users/tbembersimeao/repos","events_url":"https://api.github.com/users/tbembersimeao/events{/privacy}","received_events_url":"https://api.github.com/users/tbembersimeao/received_events","type":"User","site_admin":false},"body":"Implements hooks described in the following issue: https://github.com/vanderbilt/redcap-external-modules/issues/13#issuecomment-323105463.","created_at":"2017-12-18T18:58:34Z","updated_at":"2018-02-15T19:14:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb4c244e4891b8fb62c80a5094f8093d1c4d4b5a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/pulls/74/commits","review_comments_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/pulls/74/comments","review_comment_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/issues/74/comments","statuses_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/statuses/ccf39cd17f9146991a4cda6b3d7c1299c9a16eac","head":{"label":"tbembersimeao:testing","ref":"testing","sha":"ccf39cd17f9146991a4cda6b3d7c1299c9a16eac","user":{"login":"tbembersimeao","id":29384017,"avatar_url":"https://avatars2.githubusercontent.com/u/29384017?v=4","gravatar_id":"","url":"https://api.github.com/users/tbembersimeao","html_url":"https://github.com/tbembersimeao","followers_url":"https://api.github.com/users/tbembersimeao/followers","following_url":"https://api.github.com/users/tbembersimeao/following{/other_user}","gists_url":"https://api.github.com/users/tbembersimeao/gists{/gist_id}","starred_url":"https://api.github.com/users/tbembersimeao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbembersimeao/subscriptions","organizations_url":"https://api.github.com/users/tbembersimeao/orgs","repos_url":"https://api.github.com/users/tbembersimeao/repos","events_url":"https://api.github.com/users/tbembersimeao/events{/privacy}","received_events_url":"https://api.github.com/users/tbembersimeao/received_events","type":"User","site_admin":false},"repo":{"id":114676586,"name":"redcap-external-modules","full_name":"tbembersimeao/redcap-external-modules","owner":{"login":"tbembersimeao","id":29384017,"avatar_url":"https://avatars2.githubusercontent.com/u/29384017?v=4","gravatar_id":"","url":"https://api.github.com/users/tbembersimeao","html_url":"https://github.com/tbembersimeao","followers_url":"https://api.github.com/users/tbembersimeao/followers","following_url":"https://api.github.com/users/tbembersimeao/following{/other_user}","gists_url":"https://api.github.com/users/tbembersimeao/gists{/gist_id}","starred_url":"https://api.github.com/users/tbembersimeao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbembersimeao/subscriptions","organizations_url":"https://api.github.com/users/tbembersimeao/orgs","repos_url":"https://api.github.com/users/tbembersimeao/repos","events_url":"https://api.github.com/users/tbembersimeao/events{/privacy}","received_events_url":"https://api.github.com/users/tbembersimeao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tbembersimeao/redcap-external-modules","description":"Development work for REDCap External Modules/Packages to support a standardized Hook/Plugin framework and management mechanism","fork":true,"url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules","forks_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/forks","keys_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/teams","hooks_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/hooks","issue_events_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/issues/events{/number}","events_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/events","assignees_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/assignees{/user}","branches_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/branches{/branch}","tags_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/tags","blobs_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/statuses/{sha}","languages_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/languages","stargazers_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/stargazers","contributors_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/contributors","subscribers_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/subscribers","subscription_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/subscription","commits_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/contents/{+path}","compare_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/merges","archive_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/downloads","issues_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/issues{/number}","pulls_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/pulls{/number}","milestones_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/milestones{/number}","notifications_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/labels{/name}","releases_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/releases{/id}","deployments_url":"https://api.github.com/repos/tbembersimeao/redcap-external-modules/deployments","created_at":"2017-12-18T18:52:07Z","updated_at":"2017-12-18T18:52:09Z","pushed_at":"2018-02-14T16:34:22Z","git_url":"git://github.com/tbembersimeao/redcap-external-modules.git","ssh_url":"git@github.com:tbembersimeao/redcap-external-modules.git","clone_url":"https://github.com/tbembersimeao/redcap-external-modules.git","svn_url":"https://github.com/tbembersimeao/redcap-external-modules","homepage":"https://www.project-redcap.org/","size":1889,"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,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vanderbilt:testing","ref":"testing","sha":"d192c054664cb4c3a49b4059a5053c055d72ad6d","user":{"login":"vanderbilt","id":1894051,"avatar_url":"https://avatars1.githubusercontent.com/u/1894051?v=4","gravatar_id":"","url":"https://api.github.com/users/vanderbilt","html_url":"https://github.com/vanderbilt","followers_url":"https://api.github.com/users/vanderbilt/followers","following_url":"https://api.github.com/users/vanderbilt/following{/other_user}","gists_url":"https://api.github.com/users/vanderbilt/gists{/gist_id}","starred_url":"https://api.github.com/users/vanderbilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanderbilt/subscriptions","organizations_url":"https://api.github.com/users/vanderbilt/orgs","repos_url":"https://api.github.com/users/vanderbilt/repos","events_url":"https://api.github.com/users/vanderbilt/events{/privacy}","received_events_url":"https://api.github.com/users/vanderbilt/received_events","type":"Organization","site_admin":false},"repo":{"id":76367037,"name":"redcap-external-modules","full_name":"vanderbilt/redcap-external-modules","owner":{"login":"vanderbilt","id":1894051,"avatar_url":"https://avatars1.githubusercontent.com/u/1894051?v=4","gravatar_id":"","url":"https://api.github.com/users/vanderbilt","html_url":"https://github.com/vanderbilt","followers_url":"https://api.github.com/users/vanderbilt/followers","following_url":"https://api.github.com/users/vanderbilt/following{/other_user}","gists_url":"https://api.github.com/users/vanderbilt/gists{/gist_id}","starred_url":"https://api.github.com/users/vanderbilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanderbilt/subscriptions","organizations_url":"https://api.github.com/users/vanderbilt/orgs","repos_url":"https://api.github.com/users/vanderbilt/repos","events_url":"https://api.github.com/users/vanderbilt/events{/privacy}","received_events_url":"https://api.github.com/users/vanderbilt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vanderbilt/redcap-external-modules","description":"Development work for REDCap External Modules/Packages to support a standardized Hook/Plugin framework and management mechanism","fork":false,"url":"https://api.github.com/repos/vanderbilt/redcap-external-modules","forks_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/forks","keys_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/teams","hooks_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/hooks","issue_events_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/issues/events{/number}","events_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/events","assignees_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/assignees{/user}","branches_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/branches{/branch}","tags_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/tags","blobs_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/statuses/{sha}","languages_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/languages","stargazers_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/stargazers","contributors_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/contributors","subscribers_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/subscribers","subscription_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/subscription","commits_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/contents/{+path}","compare_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/merges","archive_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/downloads","issues_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/issues{/number}","pulls_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/pulls{/number}","milestones_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/milestones{/number}","notifications_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/labels{/name}","releases_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/releases{/id}","deployments_url":"https://api.github.com/repos/vanderbilt/redcap-external-modules/deployments","created_at":"2016-12-13T14:39:19Z","updated_at":"2017-12-14T14:45:07Z","pushed_at":"2018-02-15T18:59:42Z","git_url":"git://github.com/vanderbilt/redcap-external-modules.git","ssh_url":"git@github.com:vanderbilt/redcap-external-modules.git","clone_url":"https://github.com/vanderbilt/redcap-external-modules.git","svn_url":"https://github.com/vanderbilt/redcap-external-modules","homepage":"https://www.project-redcap.org/","size":1860,"stargazers_count":8,"watchers_count":8,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":9,"open_issues":15,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vanderbilt/redcap-external-modules/pulls/74"},"html":{"href":"https://github.com/vanderbilt/redcap-external-modules/pull/74"},"issue":{"href":"https://api.github.com/repos/vanderbilt/redcap-external-modules/issues/74"},"comments":{"href":"https://api.github.com/repos/vanderbilt/redcap-external-modules/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/vanderbilt/redcap-external-modules/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/vanderbilt/redcap-external-modules/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vanderbilt/redcap-external-modules/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/vanderbilt/redcap-external-modules/statuses/ccf39cd17f9146991a4cda6b3d7c1299c9a16eac"}},"author_association":"NONE"}}
{"actor":{"display_login":"mmcev106"}}