Skip to content

Commit

Permalink
Merge pull request #125 from MegaphoneJon/CRM-21812
Browse files Browse the repository at this point in the history
CRM-21812 - don't specify installation type post install
  • Loading branch information
eileenmcnaughton authored Jul 19, 2018
2 parents 0e209a4 + 4629f4a commit fd6ba3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion civicrm.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,9 @@ public function setup_instance() {
if ( $this->civicrm_in_wordpress() ) {
// this is required for AJAX calls in WordPress admin
$_GET['noheader'] = TRUE;
} else {
}

if ( !CIVICRM_INSTALLED && !$this->civicrm_in_wordpress() ) {
$_GET['civicrm_install_type'] = 'wordpress';
}

Expand Down

0 comments on commit fd6ba3e

Please sign in to comment.