Skip to content

Commit

Permalink
CRM-21812 - don't specify installation type post install
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaphoneJon committed Feb 28, 2018
1 parent 0e900d4 commit 4629f4a
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 4629f4a

Please sign in to comment.