{"action":"created","comment":{"url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/pulls/comments/57090365","id":57090365,"diff_hunk":"@@ -0,0 +1,64 @@\n+<?php\n+/**\n+ * @file\n+ * Abstract Task Class.\n+ */\n+\n+namespace Stanford\\JumpstartVPSA\\Install;\n+/**\n+ *\n+ */\n+class JSVPSAFinishInstallation extends \\AbstractInstallTask {\n+\n+  /**\n+   * Enable a couple of final modules because they depend on everything.\n+   *\n+   * @param array $args\n+   *   Installation arguments.\n+   */\n+  public function execute(&$args = array()) {\n+\n+    // Set the homepage to the home node.\n+    $home_node_path = drupal_get_normal_path('home');\n+    variable_set('site_frontpage', $home_node_path);\n+    // Oh man so many static variables to kill!\n+    static $ordered;\n+    static $all_links;\n+    static $cache;\n+    static $drupal_static_cache;\n+    $ordered = null;\n+    $all_links = null;\n+    $cache = null;\n+    $drupal_static_cache = null;\n+    // Call flush all caches so that the blocks table gets populated.\n+    drupal_static_reset();\n+    drupal_flush_all_caches();\n+    // Revert dem all!\n+    // features_rebuild();\n+    // features_revert();\n+    features_revert('stanford_video');","path":"Stanford/JumpstartVPSA/Install/JSVPSAFinishInstallation.php","position":39,"original_position":39,"commit_id":"17c3ef60debf618444d5fdcc2d86cc7b8686ae0d","original_commit_id":"ca1e5d42e663643ca29d98c326c00e6dafaa6b2d","user":{"login":"jbickar","id":821106,"avatar_url":"https://avatars.githubusercontent.com/u/821106?v=3","gravatar_id":"","url":"https://api.github.com/users/jbickar","html_url":"https://github.com/jbickar","followers_url":"https://api.github.com/users/jbickar/followers","following_url":"https://api.github.com/users/jbickar/following{/other_user}","gists_url":"https://api.github.com/users/jbickar/gists{/gist_id}","starred_url":"https://api.github.com/users/jbickar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbickar/subscriptions","organizations_url":"https://api.github.com/users/jbickar/orgs","repos_url":"https://api.github.com/users/jbickar/repos","events_url":"https://api.github.com/users/jbickar/events{/privacy}","received_events_url":"https://api.github.com/users/jbickar/received_events","type":"User","site_admin":false},"body":"BASIC-1920","created_at":"2016-03-22T23:55:22Z","updated_at":"2016-03-22T23:55:22Z","html_url":"https://github.com/SU-SWS/stanford_install_tasks/pull/2#discussion_r57090365","pull_request_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/pulls/comments/57090365"},"html":{"href":"https://github.com/SU-SWS/stanford_install_tasks/pull/2#discussion_r57090365"},"pull_request":{"href":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/pulls/2","id":63809454,"html_url":"https://github.com/SU-SWS/stanford_install_tasks/pull/2","diff_url":"https://github.com/SU-SWS/stanford_install_tasks/pull/2.diff","patch_url":"https://github.com/SU-SWS/stanford_install_tasks/pull/2.patch","issue_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/issues/2","number":2,"state":"open","locked":false,"title":"Add JSVPSA install tasks","user":{"login":"jbickar","id":821106,"avatar_url":"https://avatars.githubusercontent.com/u/821106?v=3","gravatar_id":"","url":"https://api.github.com/users/jbickar","html_url":"https://github.com/jbickar","followers_url":"https://api.github.com/users/jbickar/followers","following_url":"https://api.github.com/users/jbickar/following{/other_user}","gists_url":"https://api.github.com/users/jbickar/gists{/gist_id}","starred_url":"https://api.github.com/users/jbickar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbickar/subscriptions","organizations_url":"https://api.github.com/users/jbickar/orgs","repos_url":"https://api.github.com/users/jbickar/repos","events_url":"https://api.github.com/users/jbickar/events{/privacy}","received_events_url":"https://api.github.com/users/jbickar/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-22T23:23:50Z","updated_at":"2016-03-22T23:55:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f7b1c14379601cb165b5f1c717ba0b9f3c649533","assignee":{"login":"sherakama","id":550602,"avatar_url":"https://avatars.githubusercontent.com/u/550602?v=3","gravatar_id":"","url":"https://api.github.com/users/sherakama","html_url":"https://github.com/sherakama","followers_url":"https://api.github.com/users/sherakama/followers","following_url":"https://api.github.com/users/sherakama/following{/other_user}","gists_url":"https://api.github.com/users/sherakama/gists{/gist_id}","starred_url":"https://api.github.com/users/sherakama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sherakama/subscriptions","organizations_url":"https://api.github.com/users/sherakama/orgs","repos_url":"https://api.github.com/users/sherakama/repos","events_url":"https://api.github.com/users/sherakama/events{/privacy}","received_events_url":"https://api.github.com/users/sherakama/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/pulls/2/commits","review_comments_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/pulls/2/comments","review_comment_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/issues/2/comments","statuses_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/statuses/17c3ef60debf618444d5fdcc2d86cc7b8686ae0d","head":{"label":"SU-SWS:BASIC-1877","ref":"BASIC-1877","sha":"17c3ef60debf618444d5fdcc2d86cc7b8686ae0d","user":{"login":"SU-SWS","id":840730,"avatar_url":"https://avatars.githubusercontent.com/u/840730?v=3","gravatar_id":"","url":"https://api.github.com/users/SU-SWS","html_url":"https://github.com/SU-SWS","followers_url":"https://api.github.com/users/SU-SWS/followers","following_url":"https://api.github.com/users/SU-SWS/following{/other_user}","gists_url":"https://api.github.com/users/SU-SWS/gists{/gist_id}","starred_url":"https://api.github.com/users/SU-SWS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SU-SWS/subscriptions","organizations_url":"https://api.github.com/users/SU-SWS/orgs","repos_url":"https://api.github.com/users/SU-SWS/repos","events_url":"https://api.github.com/users/SU-SWS/events{/privacy}","received_events_url":"https://api.github.com/users/SU-SWS/received_events","type":"Organization","site_admin":false},"repo":{"id":51775424,"name":"stanford_install_tasks","full_name":"SU-SWS/stanford_install_tasks","owner":{"login":"SU-SWS","id":840730,"avatar_url":"https://avatars.githubusercontent.com/u/840730?v=3","gravatar_id":"","url":"https://api.github.com/users/SU-SWS","html_url":"https://github.com/SU-SWS","followers_url":"https://api.github.com/users/SU-SWS/followers","following_url":"https://api.github.com/users/SU-SWS/following{/other_user}","gists_url":"https://api.github.com/users/SU-SWS/gists{/gist_id}","starred_url":"https://api.github.com/users/SU-SWS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SU-SWS/subscriptions","organizations_url":"https://api.github.com/users/SU-SWS/orgs","repos_url":"https://api.github.com/users/SU-SWS/repos","events_url":"https://api.github.com/users/SU-SWS/events{/privacy}","received_events_url":"https://api.github.com/users/SU-SWS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SU-SWS/stanford_install_tasks","description":"Stanford Installation Tasks for the iTasks style installation profiles.","fork":false,"url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks","forks_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/forks","keys_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/teams","hooks_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/hooks","issue_events_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/issues/events{/number}","events_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/events","assignees_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/assignees{/user}","branches_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/branches{/branch}","tags_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/tags","blobs_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/languages","stargazers_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/stargazers","contributors_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/contributors","subscribers_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/subscribers","subscription_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/subscription","commits_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/contents/{+path}","compare_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/merges","archive_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/downloads","issues_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/issues{/number}","pulls_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/labels{/name}","releases_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/releases{/id}","deployments_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/deployments","created_at":"2016-02-15T18:14:20Z","updated_at":"2016-02-15T18:14:57Z","pushed_at":"2016-03-22T23:53:42Z","git_url":"git://github.com/SU-SWS/stanford_install_tasks.git","ssh_url":"git@github.com:SU-SWS/stanford_install_tasks.git","clone_url":"https://github.com/SU-SWS/stanford_install_tasks.git","svn_url":"https://github.com/SU-SWS/stanford_install_tasks","homepage":null,"size":104,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"7.x-1.x"}},"base":{"label":"SU-SWS:7.x-1.x","ref":"7.x-1.x","sha":"d031d1fda56c3610b2b57d9785d9997517af80ac","user":{"login":"SU-SWS","id":840730,"avatar_url":"https://avatars.githubusercontent.com/u/840730?v=3","gravatar_id":"","url":"https://api.github.com/users/SU-SWS","html_url":"https://github.com/SU-SWS","followers_url":"https://api.github.com/users/SU-SWS/followers","following_url":"https://api.github.com/users/SU-SWS/following{/other_user}","gists_url":"https://api.github.com/users/SU-SWS/gists{/gist_id}","starred_url":"https://api.github.com/users/SU-SWS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SU-SWS/subscriptions","organizations_url":"https://api.github.com/users/SU-SWS/orgs","repos_url":"https://api.github.com/users/SU-SWS/repos","events_url":"https://api.github.com/users/SU-SWS/events{/privacy}","received_events_url":"https://api.github.com/users/SU-SWS/received_events","type":"Organization","site_admin":false},"repo":{"id":51775424,"name":"stanford_install_tasks","full_name":"SU-SWS/stanford_install_tasks","owner":{"login":"SU-SWS","id":840730,"avatar_url":"https://avatars.githubusercontent.com/u/840730?v=3","gravatar_id":"","url":"https://api.github.com/users/SU-SWS","html_url":"https://github.com/SU-SWS","followers_url":"https://api.github.com/users/SU-SWS/followers","following_url":"https://api.github.com/users/SU-SWS/following{/other_user}","gists_url":"https://api.github.com/users/SU-SWS/gists{/gist_id}","starred_url":"https://api.github.com/users/SU-SWS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SU-SWS/subscriptions","organizations_url":"https://api.github.com/users/SU-SWS/orgs","repos_url":"https://api.github.com/users/SU-SWS/repos","events_url":"https://api.github.com/users/SU-SWS/events{/privacy}","received_events_url":"https://api.github.com/users/SU-SWS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SU-SWS/stanford_install_tasks","description":"Stanford Installation Tasks for the iTasks style installation profiles.","fork":false,"url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks","forks_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/forks","keys_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/teams","hooks_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/hooks","issue_events_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/issues/events{/number}","events_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/events","assignees_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/assignees{/user}","branches_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/branches{/branch}","tags_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/tags","blobs_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/languages","stargazers_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/stargazers","contributors_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/contributors","subscribers_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/subscribers","subscription_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/subscription","commits_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/contents/{+path}","compare_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/merges","archive_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/downloads","issues_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/issues{/number}","pulls_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/labels{/name}","releases_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/releases{/id}","deployments_url":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/deployments","created_at":"2016-02-15T18:14:20Z","updated_at":"2016-02-15T18:14:57Z","pushed_at":"2016-03-22T23:53:42Z","git_url":"git://github.com/SU-SWS/stanford_install_tasks.git","ssh_url":"git@github.com:SU-SWS/stanford_install_tasks.git","clone_url":"https://github.com/SU-SWS/stanford_install_tasks.git","svn_url":"https://github.com/SU-SWS/stanford_install_tasks","homepage":null,"size":104,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"7.x-1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/pulls/2"},"html":{"href":"https://github.com/SU-SWS/stanford_install_tasks/pull/2"},"issue":{"href":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/issues/2"},"comments":{"href":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/SU-SWS/stanford_install_tasks/statuses/17c3ef60debf618444d5fdcc2d86cc7b8686ae0d"}}}}